in reply to Perl Exec with Spaces

I think on Windows, what you're trying to do is best done with system.

system( 1, qq{"$cmd"} );

See also launching external program with SYSTEM causes script to hang until program closed among many others.

Replies are listed 'Best First'.
Re^2: Perl Exec with Spaces
by nevafuse (Novice) on Mar 11, 2009 at 19:55 UTC
    Thank you, I didn't realize system would allow me to execute something without waiting for it to end.