From: thefed Date: 2008-01-09T06:41:42+09:00 Subject: Re: Ruby's Kernel::exec (and system and %x) On Jan 7, 2008, at 5:14 PM, Nobuyoshi Nakada wrote: > cmd = "C:/Program Files/..." > exec([cmd, cmd]) > > Citing from `ri exec': > If the first argument is a two-element array, the first > element is the command to be executed, and the second > argument is used as the +argv[0]+ value, which may show up > in process listings. > But wouldn't that affect the program cmd, because it is having something passed to it?