From: Michal Suchanek Date: 2008-07-31T23:10:10+09:00 Subject: Input redirection in ruby Hello I could not find any way to redirect input and output of programs in ruby. You can capture the fds but not redirect AFAICT. So unless there is something I have overlooked I add the the ruby wishlist: let popen and popen3 take IO arguments for use as stdin, stdout, and stderr. Since they can be named in 1.9 (or was that dropped?) you may specify anything you want. These should probably work only with IO that is backed by a real fd, support for StringIO or similar might be problematic. Thanks Michal