The command I execute within %x{...}, if executed on the command line,
works perfectly, every time.
If I run the same command within Ruby's %x{...}, I get mixed results.
Sometimes a blank string, other times the expected output.
Why?
···
--
Posted via http://www.ruby-forum.com/.
We can't possibly answer that without more information. Provide us enough information that we might be able to see the problem.
···
On Apr 29, 2010, at 16:19 , Daniel Waite wrote:
The command I execute within %x{...}, if executed on the command line,
works perfectly, every time.
If I run the same command within Ruby's %x{...}, I get mixed results.
Sometimes a blank string, other times the expected output.
Why?