Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: does system() return a pid?

by Athanasius (Archbishop)
on Oct 10, 2015 at 04:06 UTC ( [id://1144360]=note: print w/replies, xml ) Need Help??


in reply to does system() return a pid?

Hello sciguy,

Does the system() function return a value ... and is that value the PID of the child process?

What would be the point? The return value of a system call is received only after the child process has completed and exited.

Maybe you’re looking for threads? See perlthrtut. The Monastery also has some tutorials on threads: Threads, Multi-Processing, and Inter-Process Communication.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-19 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found