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

I tried the folllowing
my $CommandNew = qq("C:\\Program Files (x86)\\vs.exe"); print "Command is $CommandNew\n"; my $ID = Proc::Background->new($CommandNew);

ERROR: Test.pl: cannot find absolute location of "C:\Program

Also tried
my $CommandNew = q(C:\\Program Files (x86)\\vs.exe); print "Command is $CommandNew\n"; my $ID = Proc::Background->new($CommandNew);

ERROR: Test.pl: no executable program located at C:\Program
I am still stuck

Replies are listed 'Best First'.
Re^4: Proc::Background does not take file path with spaces
by BrowserUk (Patriarch) on Apr 27, 2012 at 17:37 UTC

    You are going to have to accept that Proc::Background is terminally broken and use something else.

    See Re: Proc::Background does not take file path with spaces for one such possibility.


    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?