mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
@ -995,7 +995,7 @@ class Popen(object):
|
|||
os.chdir(cwd)
|
||||
|
||||
if preexec_fn:
|
||||
apply(preexec_fn)
|
||||
preexec_fn()
|
||||
|
||||
if env is None:
|
||||
os.execvp(executable, args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue