Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: waiting for process to finish

by Corion (Pope)
on Jul 16, 2018 at 12:29 UTC ( #1218564=note: print w/replies, xml ) Need Help??

in reply to Re^2: waiting for process to finish
in thread waiting for process to finish

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?

Replies are listed 'Best First'.
Re^4: waiting for process to finish
by Anonymous Monk on Jul 17, 2018 at 20:00 UTC
    This is normally what remote-procedure-call mechanisms do: the host runs the request, waits for it to finish, and sends a completion-status message back to the client. The client only needs to wait for messages and to interpret them when they arrive. If you want to give a "progress message," a timer is the way to do that. (Turn off the timer once the completion-message arrives.)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2019-08-24 20:02 GMT
Find Nodes?
    Voting Booth?

    No recent polls found