On Sep 25, 8:16 am, Tim Arnold [EMAIL PROTECTED] wrote:
Tim Arnold [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
Thanks for the
Tim Arnold [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
Thanks for the ideas everyone--I now have some news tools in the toolbox.
The
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
(1) First thought was threads, until I saw that os.chdir was process-
global.
(2) Next thought was fork, but I don't know how to signal when each
child is
Tim Arnold wrote:
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
(1) First thought was threads, until I saw that os.chdir was process-
global.
(2) Next thought was fork, but I don't know how to
On 24Sep2008 18:27, Tim Arnold [EMAIL PROTECTED] wrote:
| I have a bunch of processes to run and each one needs its own working
| directory. I'd also like to know when all of the processes are
| finished.
|
| (1) First thought was threads, until I saw that os.chdir was process-
| global.
Yep.
On Sep 24, 9:27 pm, Tim Arnold [EMAIL PROTECTED] wrote:
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
(1) First thought was threads, until I saw that os.chdir was process-
global.
(2) Next
On Sep 24, 6:27 pm, Tim Arnold [EMAIL PROTECTED] wrote:
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
(1) First thought was threads, until I saw that os.chdir was process-
global.
(2) Next
On Sep 24, 9:27 pm, Tim Arnold [EMAIL PROTECTED] wrote:
(2) Next thought was fork, but I don't know how to signal when each
child is
finished.
Consider the multiprocessing module, which is available in Python 2.6,
but it began its life as a third-party module that acts like threading
module