Files
typeshed/stdlib
Alex Waygood 32c575d980 subprocess.check_call: executable defaults to None (#9689)
This argument is forwarded on to `Popen.__init__`, like most of the other arguments. It can be `None`, just like the `executable` parameter for all the other `subprocess` functions:

```pycon
>>> import subprocess
>>> subprocess.check_call(["python", "-c", "1/1"], executable=None)
0
>>> subprocess.check_call(["python", "-c", "1/0"], executable=None)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ZeroDivisionError: division by zero
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\alexw\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python', '-c', '1/0']' returned non-zero exit status 1.
```
2023-02-07 12:33:12 +00:00
..
2023-02-06 19:01:02 -08:00
2023-02-03 19:12:53 +00:00
2023-02-06 19:01:02 -08:00
2023-02-06 19:01:02 -08:00
2023-02-01 06:06:04 -08:00
2023-02-06 19:01:02 -08:00
2023-02-06 19:01:02 -08:00
2023-02-06 19:01:02 -08:00
2021-05-06 18:57:33 +03:00
2023-02-06 19:01:02 -08:00
2023-02-06 19:01:02 -08:00
2023-02-01 06:06:04 -08:00
2023-02-02 16:01:54 -08:00
2023-02-01 06:06:04 -08:00
2023-02-02 16:01:54 -08:00
2022-02-19 12:26:45 -08:00
2023-02-06 19:01:02 -08:00
2023-02-02 16:01:54 -08:00
2023-02-02 16:01:54 -08:00
2023-02-02 16:01:54 -08:00
2023-02-06 19:01:02 -08:00
2023-02-01 06:06:04 -08:00
2023-02-06 19:01:02 -08:00
2023-02-01 06:06:04 -08:00
2022-01-30 16:27:06 -08:00
2023-02-06 19:01:02 -08:00
2023-02-06 19:01:02 -08:00
2021-12-22 20:18:19 -08:00
2022-01-01 14:19:05 +02:00
2022-03-03 15:25:30 -08:00
2023-02-06 19:01:02 -08:00
2022-08-23 12:22:12 -07:00
2023-02-06 15:57:17 -08:00
2023-02-02 16:01:54 -08:00