Robert Klemme wrote in post #980746:
>>
>> I have also tried using the system() command as follows:
>>
>> system("echo \"#{someVar}\" | ./some-script.py > \"#{outputFile}\"")
>
> Why do you escape the string interpolation?  Don't you want those file
> names inserted there?  It seems you rather want
>
> system("echo '#{someVar}' | ./some-script.py >'#{outputFile}'")
>
>

Hi Robert,

Thanks for the help.  I used your suggestion of single quotes and now my 
script is working like a charm.

Cheers,
Gerad

-- 
Posted via http://www.ruby-forum.com/.