I would like to be able to assign my pipe to a variable, whilst still
being able to capture STDERR; i'm sure this is possible but can't think
how to do it..
This is the code for the pipe:
@pipe = IO.popen("ruby userFile/file.rb", "r+")
I am on windows and have tried to use the systemu library to no avail..
What exactly do you mean? Why is the pipe and stderr related? Are you talking about stderr of the Ruby process or of some child process?
Regards
robert
···
On 16.02.2007 11:39, James Smith wrote:
I would like to be able to assign my pipe to a variable, whilst still
being able to capture STDERR; i'm sure this is possible but can't think
how to do it..