editor: use run_command's shell feature