use spawn instead of exec to start $EDITOR, in order to allow for terminal based editors