65,184
社区成员




QProcess *my_process = new QProcess();
my_process->start("python test_process.py");
import subprocess
import os
print('parent pid', os.getpid())
p=subprocess.Popen(['python', '-c', 'import time;time.sleep(100)'], shell=False)
print('child pid', p.pid)
p.wait()