Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Process ID of qx

by virtualsue (Vicar)
on Mar 05, 2007 at 09:43 UTC ( #603182=note: print w/ replies, xml ) Need Help??


in reply to Process ID of qx

From within the same program? No, not really. qx/backticks works much like system, in that the execution of your program stops while the command in qx() is executed. When your program resumes execution, the qx() subprocess is gone. See perlop for greater detail on how it works. If you want to spawn child processes in a more flexible, asynchronous way, start by reading fork. Threads, Multi-Processing, and Inter-Process Communication (in Tutorials) provides some interesting research material.


Comment on Re: Process ID of qx
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-09-19 21:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (147 votes), past polls