Skip to content
Myr

Made EDITOR/VISUAL be a command line like in hg/git.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 264fa24 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:click/_termui_impl.py+2 added-1 removed
338 unmodified lines
339 environ.update(self.env)340 else:341 environ = None342 try:343 c = subprocess.Popen([editor, filename], env=environ)343 c = subprocess.Popen('%s "%s"' % (editor, filename),344 env=environ, shell=True)345 exit_code = c.wait()346 if exit_code != 0:347 raise ClickException('%s: Editing failed!' % editor)348 except OSError as e:
140 unmodified lines