From: matz@... (Yukihiro Matsumoto) Date: 2003-05-13T03:17:56+09:00 Subject: Re: RCR for child execution Hi, In message "Re: RCR for child execution" on 03/05/13, Brian Candler writes: |If you want a version of Ruby's "system" command which captures |stderr/stdout into a string, you can write your own easily. I suggested |the shorthand | | %X{command} | |to run a command and capture both stdout and stderr into a string (the RCR |from which this thread gets its subject) I don't like this notation. But I like the idea of spawning child with its stdin/out/err replaced. It should be something like system2(in, out, err, "command") but it needs better name. matz.