From: Tony Arcieri Date: 2009-11-11T12:48:18+09:00 Subject: Re: Calling a subprocess with specific arguments and capturing its output? --0016e64c16d40a34430478104cbc Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 10, 2009 at 4:00 PM, Dan Q wrote: > I was looking for a function with a syntax that allows > separate arguments, like system("du", "-sh", filename) > Why is this any harder than? `#{cmd} #{args.map { |arg| arg.to_s.inspect }.join(' ')}` -- Tony Arcieri Medioh/Nagravision --0016e64c16d40a34430478104cbc--