Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Backticks within child process

by onelesd (Pilgrim)
on Jul 09, 2012 at 17:03 UTC ( #980726=note: print w/replies, xml ) Need Help??


in reply to Backticks within child process

It would help if you pasted your output, and also what you expected to see.

I suspect you wanted to see something like:

hello [ps output] world hello [ps output] world hello [ps output] world

But instead you are seeing something like:

hello hello hello [ps output] [ps output] [ps output]world world world

You answered your own question- the 3 forks you did are running async.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2018-11-15 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (192 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!