cjwilliams43 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Reinitialize engine fails if the running script has running subprocesses #613

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Run the following script in PyScripter.

2. You have 20 seconds (due to “time.sleep(20)”) to rerun 
script/reinitialize Python engine. If you have time to run/ reinitialize, you 
will get an error

import time

from multiprocessing import Process

def do():
    time.sleep(20)
if __name__ == '__main__':
    p = Process(target=do, args=())
    p.start()

Reporter Николай Головкин

Original issue reported on code.google.com by pyscripter on 14 Feb 2012 at 9:35