Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
debug
/
test_posix_spawn.py
blob: a9adf287883fbbbc0864689b588e5ff8abb3a0f2 [
file
]
import
os
import
sys
pid
=
os
.
posix_spawn
(
sys
.
executable
,
[
sys
.
executable
,
"test2.py"
],
os
.
environ
)
pid
,
status
=
os
.
waitpid
(
pid
,
0
)
print
(
pid
,
status
)