Skip to content
Myr

document that launch(wait) only works for blocking programs

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

authored by David Lord · committed by David Lord · parent a141a2a · Browse files · 1 file+3 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+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:src/click/termui.py+3 added-1 removed
656 unmodified lines
657658 .. versionadded:: 2.0659660 :param url: URL or filename of the thing to launch.661 :param wait: waits for the program to stop.661 :param wait: Wait for the program to exit before returning. This662 only works if the launched program blocks. In particular,663 ``xdg-open`` on Linux does not block.664 :param locate: if this is set to `True` then instead of launching the665 application associated with the URL it will attempt to666 launch a file manager with the file located. This667 might have weird effects if the URL does not point to
71 unmodified lines