http://www.perlmonks.org?node_id=841730


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.