Hello, We want to capture all the output of an external program that we call from ruby. We use a custom function that sends the command to the system using the backquote notation. 2>&1 is appended at the end of the command line to capture the standard error (which is very important to us). When we add 2>&1, we get the following error messages : 'c:\Program' is not recognized as an internal or external command. Note that we get this error even when the command is surrounded by quotes. Do you have any idea how to get around this problem ? We are using Windows XP. Any help would be greatly appreciated.
on 2009-02-25 19:27