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.
In reply to Re: Perl Exec with Spaces
by kyle
in thread Perl Exec with Spaces
by nevafuse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |