Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: waiting for process to finish

by Corion (Patriarch)
on Jul 16, 2018 at 07:06 UTC ( [id://1218533]=note: print w/replies, xml ) Need Help??


in reply to waiting for process to finish

Have you looked at wait? If you have the PID of the child process, you can wait for it to finish.

Replies are listed 'Best First'.
Re^2: waiting for process to finish
by ovedpo15 (Pilgrim) on Jul 16, 2018 at 12:26 UTC
    The process is running on a different machine, so I can't use the wait operation.

      Maybe you can tell us a bit more about the framework you're using to launch processes at the remote end?

      If you don't want to poll, and can't use wait, maybe you can have the process at the remote end (or a wrapper around it) send you a message when it has finished?

      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218533]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-23 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found