in reply to Re: Proc::Background does not take file path with spaces
in thread Proc::Background does not take file path with spaces
On a windows command line, your parameters are all (white?)space separated. If you want a zero-length parameter you need to double quote it so it isn't ignored, like so:
USAGE: mangle.exe [filename] [password] [index number] mangle.exe unprotected.dat "" 42
Parameters that are all whitespace have the same problem and solution.
No idea on why it had to be done that way though.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Proc::Background does not take file path with spaces
by BrowserUk (Patriarch) on Apr 27, 2012 at 14:11 UTC | |
by dinasour (Novice) on Apr 28, 2012 at 00:08 UTC |
In Section
Seekers of Perl Wisdom