From: Ryan Davis Date: 2010-04-30T09:18:36+09:00 Subject: Re: Ruby's %x{} -- running system commands 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? We can't possibly answer that without more information. Provide us enough information that we might be able to see the problem.