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

Re: Creating External Processes without losing control

by bprew (Monk)
on Dec 01, 2004 at 22:54 UTC ( [id://411606]=note: print w/replies, xml ) Need Help??


in reply to Creating External Processes without losing control

I was under the impression that doing an "exec" would simply start the process and leave it. By not waiting for a return value, you should be able to continue processing. Unfortunately, I don't generally do a whole lot with system and exec calls, but perlipc (perldoc perlipc) does :) Thanks

--
Ben
"Naked I came from my mother's womb, and naked I will depart."
  • Comment on Re: Creating External Processes without losing control

Replies are listed 'Best First'.
Re^2: Creating External Processes without losing control
by Anonymous Monk on Dec 02, 2004 at 01:19 UTC

    exec does not start a new process. exec replaces the current process with a new process executing the given executable. A successful exec will never return, as the original process's code is no longer executing. exec is often combined with fork to split off a child process and cause that process to execute the given executable.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-24 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found