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

Re: System Function...script does not move until process ends.

by graff (Chancellor)
on Apr 06, 2005 at 01:08 UTC ( [id://445140]=note: print w/replies, xml ) Need Help??


in reply to System Function...script does not move until process ends.

Shucks. Looks like your on a windows system. If you were using unix, you could just include a "&" at the end of the command line that you pass to system(), and the shell invoked by system() to run the command would do the fork/exec for you.

(Maybe if you have a windows port of the bash shell, you'd have the same functionality regarding "background job control" as you get on unix -- I'm not a windows user these days, so I'm not sure about that.)

OTOH, doing the fork/exec yourself with perl functions will give you a lot more control over the situation, and you'll probably want that.

  • Comment on Re: System Function...script does not move until process ends.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-20 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found