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

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.

Replies are listed 'Best First'.
Re^5: Win32::Process - need help from an expert!
by ikegami (Patriarch) on Sep 13, 2007 at 15:06 UTC
    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?
        I just tried 'echo' on a few different machines ( I know that at least one did NOT have an xserver installed ) and they all work like I expect. From the command line if you type "echo hi" you will see "hi" on the next line. It may not be a program but it is still a recognized command on windows, as far as I can tell at least, I may be wrong.