As Finn Bock points out, _P_WAIT etc. don't have a leading underscore
so they don't need to be treated specially here.
This commit is contained in:
parent
0df2188d08
commit
fb801e7d33
@ -42,9 +42,7 @@ elif 'nt' in _names:
|
|||||||
curdir = '.'; pardir = '..'; sep = '\\'; pathsep = ';'
|
curdir = '.'; pardir = '..'; sep = '\\'; pathsep = ';'
|
||||||
defpath = '.;C:\\bin'
|
defpath = '.;C:\\bin'
|
||||||
from nt import *
|
from nt import *
|
||||||
for i in ['_exit',
|
for i in ['_exit']:
|
||||||
'_P_WAIT', '_P_NOWAIT', '_P_OVERLAY',
|
|
||||||
'_P_NOWAITO', '_P_DETACH']:
|
|
||||||
try:
|
try:
|
||||||
exec "from nt import " + i
|
exec "from nt import " + i
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user