Skip to content
Myr

Fix 2994 launch locate files w spaces windows (#3478)

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

authored by Rowlando13 · committed by GitHub · parents 3c12ce7, c6bf75f · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/click/_termui_impl.py+1 added-1 removed
757 unmodified lines
758 null.close()759 elif WIN:760 if locate:761 url = _unquote_file(url)762 args = ["explorer", f"/select,{url}"]762 args = ["explorer", "/select,", url]763 try:764 return subprocess.call(args)765 except OSError:766 return 127
143 unmodified lines