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


in reply to Re^2: Proc::Background does not take file path with spaces
in thread Proc::Background does not take file path with spaces

If you want a zero-length parameter

Hm. Okay, you got me there. Mind you, in 30 years I don't remember ever having used a command that took a "zero length parameter".

Every command I'm aware of that takes a password has an option to supply it. And optional parameters always come at the end.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^3: Proc::Background does not take file path with spaces

Replies are listed 'Best First'.
Re^4: Proc::Background does not take file path with spaces
by dinasour (Novice) on Apr 28, 2012 at 00:08 UTC
    Hi Guys I end up using the following
    use Win32; $CommandNew = Win32::GetShortPathName("C:\\Program Files (x86)\\vs.exe +"); Proc::Background->new($CommandNew);
    Thanks for looking