Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: spawning multiple child processes

by moof1138 (Curate)
on Jun 21, 2002 at 14:22 UTC ( #176282=note: print w/replies, xml ) Need Help??


in reply to spawning multiple child processes

Thanks to all for the pointers, you have all been immensely helpful. Mr DamnDirtyApe, I read the Mr. Peabody article which helped make more clear the perdoc page I had been stumbling through, many thanks. And merlyn, thanks for your article, it seems to be a perfect starting point for doing what I am now planning - BTW it looks like some individuals are downmodding you, which is weird since your column did a pefect job of going over what I was really looking for.

BTW - I actually misdescribed why I had issues with fork(), since I realized that it spawned off a separate copy of the parent, I just thought at the time that that was not what I wanted, since I was thinking in terms of two separate scripts. So, what I had originally wanted to do (it's all so obvious now) is a fork() and then an exec() of the second script. Of course, I do not think that is necessary now that I see better how it works, since I had not really 'gotten' that data structures allocated by the parent are copied in the child, so there is no real need to exec() a separate script just so I could send it some args.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2023-03-20 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?