From: Martin Sharon Date: 2009-04-28T00:20:53+09:00 Subject: Re: execuate command problem > > Works for me > > 17:03:46 bin$ ruby <> line = "tokyo paris london" >> par = "23 23 11 43" >> execute = "./comp #{line} #{par}" >> puts execute >> XX > ./comp tokyo paris london 23 23 11 43 > 17:12:42 bin$ > > You must have been doing something differently than posted. > > Kind regards > > robert Oh, I think the only difference is in my program f=File.open(ARGV[0], 'r') line= f.gets -- Posted via http://www.ruby-forum.com/.