in reply to Re^2: Win32::Process - need help from an expert!
in thread Win32::Process - need help from an expert!

Sorry, you are correct, $^X should have worked (I missed the fact that you were running another perl script).
Is the second script actually running?
  • Comment on Re^3: Win32::Process - need help from an expert!

Replies are listed 'Best First'.
Re^4: Win32::Process - need help from an expert!
by somuchh8 (Novice) on Sep 13, 2007 at 14:55 UTC
    I don't believe the script I am trying to execute it running. I'm simplifying things now by using the helloworld.bat file which is:
    echo helloworld > c:\helloworld.txt
    To see if things are running. Also, I am using forward slashes "/" like I do for Linux / Unix on the path instead of using back slashes "\" like windows uses. I've switched these to see if it works like that.
      There's no echo program, so that's a very bad test.
        When I run "helloworld.bat" from the command line it works so that's not true, at least not for me. I have an xserver installed which comes with some unix funtionality ( like ls, echo, etc ). It's called Xvision. So on the command line if I type "echo helloworld" I see "helloworld" on the next line. Can you give me a better test, something that will create a file?