Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21572
| Date | 2012-03-13 16:12 +0000 |
|---|---|
| From | James Elford <fil.oracle@gmail.com> |
| Subject | Re: concatenate function |
| References | <1331649332216-4574176.post@n6.nabble.com> <4F5F6DAC.8000900@gmail.com> <1331654559793-4574511.post@n6.nabble.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.620.1331655180.3037.python-list@python.org> (permalink) |
On 13/03/12 16:02, ferreirafm wrote: > Hi James, thank you for your replay. Indeed, the problem is qsub. And as > warned by Robert, I don't have functions properly, but just scripts. > > > -- > View this message in context: http://python.6.n6.nabble.com/concatenate-function-tp4574176p4574511.html > Sent from the Python - python-list mailing list archive at Nabble.com. It looks like you're not calling wait() on your subprocesses: you're effectively launching a bunch of processes, then not waiting for them to finish before you ask the next process to operate on the same file. If you haven't given it a good look-over already, the subprocess documentation [1] is worth taking a little time over. [1]: http://docs.python.org/library/subprocess.html#popen-objects James
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: concatenate function James Elford <fil.oracle@gmail.com> - 2012-03-13 16:12 +0000
csiph-web