mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
(cherry picked from commit e55c2168595e22e80a8f95c2e3812cf7f687c31c) GitOrigin-RevId: 4db4aaaa9ce7198cfb5177bac262f9f72b92cdee
8 lines
154 B
Python
8 lines
154 B
Python
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)
|