This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients neologix, serhiy.storchaka, techtonik
Date 2012-12-20.08:54:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355993672.48.0.816030208943.issue16734@psf.upfronthosting.co.za>
In-reply-to
Content
You should use some kind of inter-process communication to synchronize your processes.

In particular, for get rid of a temporary script file you can either send script via pipe:

    p = Popen([sys.executable], stdin=PIPE)
    p.stdin.write(longscript)

or use it as a program argument:

    p = Popen([sys.executable, '-c', longscript])
History
Date User Action Args
2012-12-20 08:54:32serhiy.storchakasetrecipients: + serhiy.storchaka, techtonik, neologix
2012-12-20 08:54:32serhiy.storchakasetmessageid: <1355993672.48.0.816030208943.issue16734@psf.upfronthosting.co.za>
2012-12-20 08:54:32serhiy.storchakalinkissue16734 messages
2012-12-20 08:54:32serhiy.storchakacreate