Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Executing a command after the preceding command finished processing

by mr_ron (Chaplain)
on Mar 30, 2018 at 12:51 UTC ( [id://1212031]=note: print w/replies, xml ) Need Help??


in reply to Executing a command after the preceding command finished processing

If you want to run the two programs at the same time and wait for both on a system with UNIX shell (wfm on bash and csh) you might try something like:

perl -e 'system q/\ (sleep 5; echo after 5) &\ (sleep 2; echo after 2) &\ wait; echo all done\ /'
Ron
  • Comment on Re: Executing a command after the preceding command finished processing
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found