Skip to content
Myr

Open parent dir on locate

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

authored by TDaglis · committed by TDaglis · parent 3e96405 · Browse files · 1 file+3 added−2 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+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:click/_termui_impl.py+3 added-2 removed
479 unmodified lines
480 wait and '/WAIT' or '', url.replace('"', ''))481 return os.system(args)482 elif CYGWIN:483 if locate:484 pass484 url = _unquote_file(url)485 args = 'cygstart "%s"' % (os.path.dirname(url).replace('"', ''))486 else:487 args = 'cygstart %s "%s"' % (488 wait and '-w' or '', url.replace('"', ''))488 return os.system(args)489 return os.system(args)490491 try:492 if locate:493 url = os.path.dirname(_unquote_file(url)) or '.'
63 unmodified lines