Backtick processes running away

Hi all,

I have a program right now that as part of its behavior runs some
commands with backticks (`), distributing jobs amongst a large cluster
of machines. When one machine completes the job, it kills all the other
threads attempting to execute that job, however the actual processes
created by the commands in the backticks don’t seem to die.

Is there a better way to do this?

I’d use popen, but the commands in the backticks could take several
minutes to come back, and I wasn’t sure if popen would work.

-Kurt

Nevermind, looks like popen works afterall.

Yay!

-Kurt

···

On Fri, Dec 12, 2003 at 02:55:00PM +0900, Kurt M. Dresner wrote:

Hi all,

I have a program right now that as part of its behavior runs some
commands with backticks (`), distributing jobs amongst a large cluster
of machines. When one machine completes the job, it kills all the other
threads attempting to execute that job, however the actual processes
created by the commands in the backticks don’t seem to die.

Is there a better way to do this?

I’d use popen, but the commands in the backticks could take several
minutes to come back, and I wasn’t sure if popen would work.

-Kurt

======= End of Original Message =======<