Files
openide/python/testData/debug/test_posix_spawn.py
Andrey Lisin ba365df917 PY-38941 Support debugging of processes created with posix_spawn
(cherry picked from commit e55c2168595e22e80a8f95c2e3812cf7f687c31c)

GitOrigin-RevId: 4db4aaaa9ce7198cfb5177bac262f9f72b92cdee
2019-11-19 17:05:35 +00:00

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)