On 6/15/10 11:52 AM, Chris Seberino wrote: > Possible to make subprocess.Popen jobs run serially rather than in > parallel? > > In other words, if a computer is low on memory and doesn't mind > waiting.....can Popen be configured to submit to a queue and run jobs > *ONE AT TIME*?? > > That might be useful and avoid crashes and disk swapping.
Just call "process.wait()" after you call process = subprocess.Popen(...) -- Stephen Hansen ... Also: Ixokai ... Mail: me+list/python (AT) ixokai (DOT) io ... Blog: http://meh.ixokai.io/
signature.asc
Description: OpenPGP digital signature
-- http://mail.python.org/mailman/listinfo/python-list