Skip to content
Myr

Silence open's messages on OS X.

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 0801796 · Browse files · 1 file+5 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+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:click/_termui_impl.py+5 added-1 removed
385 unmodified lines
386 args.append('-W')387 if locate:388 args.append('-R')389 args.append(_unquote_file(url))390 null = open('/dev/null', 'w')391 try:390 return subprocess.Popen(args).wait()392 return subprocess.Popen(args, stderr=null).wait()393 finally:394 null.close()395 elif sys.platform.startswith('win'):396 if locate:397 url = _unquote_file(url)398 args = ['explorer', '/select,"%s"' % _unquote_file(url)]
22 unmodified lines