Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: exec() on Windows

by vitoco (Friar)
on May 26, 2010 at 14:00 UTC ( #841730=note: print w/replies, xml ) Need Help??


in reply to Re: exec() on Windows
in thread exec() on Windows

Thanks. It worked both as .pl and .exe (pp).

I was trying calling cmd.exe directly to detach child processes without waiting for them, but this way is far much clear.

Strange that "start" with exec() does not work.

Replies are listed 'Best First'.
Re^3: exec() on Windows
by Corion (Pope) on May 26, 2010 at 14:03 UTC

    start is a "shell builtin" command and does not exist as an external program, which is why it does not work with exec.

      Which means it shouldn't work for system either, except system is hacked to make this work on Windows. It explicitly behaving differently than documented.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://841730]
help
Chatterbox?
[ambrus]: GotToBTru: wait, you tell only the atom totals of what you want? Is that like ordering food in a restaurant by telling only the nutrient amounts you need, or
[ambrus]: like when a medieval scientist supposedly proves his priority inventing something by having previously published an anagram of a thousand letters long summary of the invention?
[choroba]: Progress! Nowadays, you can write a Perl script to generate such an anagram!
[GotToBTru]: i like to order my chemicals a-la-carte ambrus ;)

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













    Results (104 votes). Check out past polls.