backtick processes running away

K

Kurt M. Dresner

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top