ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Let's assume the action is ping and that we have two scripts.
Script 1 tells Script2 what to ping.
What I would like is that the Script 1 will tell the script 2 what to ping and than without waiting the script 2 to finish the ping action to send another ping action to the same script2 to another address.
That way I would have two session of the script 2 pinging to two different address.
What I have done so far is that script 1 tells script to where to ping, but script 1 is waiting for script 2 to finish and than send's another address to ping.
Any ideea of how I am supposed to handle those scripts to have certain n address ping'ed in the same time?
At the first time, I was just about posting and ask more explanation. Than, being a man who likes to serch first through posts, I realize what you mean by fork.
It worked like a charm, thanks for your simple, hellpfull and right to the point answer.