Subject: [ruby-core:36204] Re: Fwd: Using %X problem
From: Joel VanderWerf <joelvanderwerf@ a . m
Date: Mon, 16 May 2011 04:00:02 +0900
References: * 36203
In-reply-to: 36203
On 05/15/2011 11:04 AM, Edward Thornton wrote:
> puts %x{"ps -ef"}
Too many quotes. Try this:
%x{ps -ef}
(Btw, it's probably a good idea to ask questions like this on ruby-talk.)