This is probably from some form of command line interpretation doing unexpected things. Stick a print $cmd, "\n"; in there to see what you get, and try pasting that into the command line to see what happens.
It might fix things to construct the command as an array and use the list form of 3+ arg open.
After Compline,
Zaxo
In reply to Re: Runas using open
by Zaxo
in thread Runas using open
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |