mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
PyDev fixes: add test for multiprocessing.Process
GitOrigin-RevId: 624b03d66a75c45c18d0f977ef15b825ce6e2cb5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0fe740f122
commit
802c604b2c
11
python/testData/debug/test_multiprocess_process.py
Normal file
11
python/testData/debug/test_multiprocess_process.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import time
|
||||
import multiprocessing
|
||||
|
||||
|
||||
def run(name):
|
||||
print(name)
|
||||
|
||||
if __name__ == '__main__':
|
||||
multiprocessing.Process(target=run, args=("subprocess",)).start()
|
||||
while True:
|
||||
time.sleep(0.1)
|
||||
Reference in New Issue
Block a user