]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40094: Fix which.py script exit code (GH-19286)
authorVictor Stinner <vstinner@python.org>
Thu, 2 Apr 2020 01:42:47 +0000 (03:42 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Apr 2020 01:42:47 +0000 (03:42 +0200)
commite7c98f08e228e9f6e139d61e3e5d0a5018a38f0b
tree8042e2caccb7d237c05fd23c7f103c45d10ad96d
parent9a679a0e47d58aa73b7747d4e16140048c10baf5
bpo-40094: Fix which.py script exit code (GH-19286)

It now uses os.waitstatus_to_exitcode() to convert os.system() exit
status into an exit code.
Misc/NEWS.d/next/Tools-Demos/2020-04-02-01-22-21.bpo-40094.1XQQF6.rst [new file with mode: 0644]
Tools/scripts/which.py