Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Aug 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant