Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://176282]
[Discipulus]: mmh.. if I say say for glob '{0-0}|{1-0,1-1}|{ 2-1,2-2}|3-2' I obtain what I expected, but no if I put a space instead of pipes.. why?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2018-03-20 11:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (250 votes). Check out past polls.