Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: question about running a system and a perl function background

by ikegami (Patriarch)
on Dec 03, 2004 at 06:24 UTC ( [id://412054]=note: print w/replies, xml ) Need Help??


in reply to question about running a system and a perl function background

; doesn't work in Windows. Not even from the prompt. Use && instead of ;, and it works. (Tested using system 1, ( "echo aaa > file1 && copy file1 file2 > nul" );).

Use wait to detect when a child terminates.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2025-05-19 14:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.