Joel VanderWerf
9/24/2007 7:38:00 PM
Joel VanderWerf wrote:
> Matthew Williams wrote:
>> exec("charting/RequestByProject.jar",params[:name]')
>
> This works for me:
>
> irb(main):004:0> exec "C:/Program Files/JGSoft/EditPadLite/EditPad.exe"
This works too:
exec "C:/Program Files/JGSoft/EditPadLite/EditPad.exe", "C:/tmp/foo.txt"
Note the difference between #exec and #system: system blocks and returns
when the child is done, but exec causes the current process to be
replaced with the child.
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407