Skip to content
Myr

Fixes windows specific error regarding spaces in filepaths for open_url.

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

authored by plumlariat · committed by plumlariat · parent 3c12ce7 · 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