Changeset 603 for python/trunk/Lib/subprocess.py
- Timestamp:
- Dec 11, 2015, 1:26:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Lib/subprocess.py
r391 r603 396 396 import signal 397 397 import errno 398 399 import sysconfig 400 SHELL = sysconfig.get_config_var('SHELL') or '/bin/sh' 398 401 399 402 # Exception classes used by this module. … … 1198 1201 1199 1202 if shell: 1200 args = [ "/bin/sh", "-c"] + args1203 args = [SHELL, "-c"] + args 1201 1204 if executable: 1202 1205 args[0] = executable
Note:
See TracChangeset
for help on using the changeset viewer.