launch_editor: refactor to use start/finish_command