Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: How to run a 2nd script in background?

by cdarke (Prior)
on Jan 03, 2008 at 09:34 UTC ( #660143=note: print w/replies, xml ) Need Help??


in reply to Re: How to run a 2nd script in background?
in thread How to run a 2nd script in background?

Using system creates another process, exec is more appropriate here.

If you are running on Windows you should be aware that fork creates a new thread, not a new process (fork is UNIX architecture). Also (on Windows) to run a script you should prefix the script name with 'perl', since file extension association is done at application, not OS, level. See also Win32::Process and Win32::FetchCommand.
  • Comment on Re^2: How to run a 2nd script in background?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660143]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2016-12-05 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (82 votes). Check out past polls.