Tim Hoolihan
6/16/2006 8:41:00 PM
I'm not at a linux machine to test this and it doesn't work in windows
(unimplemented), but try:
p = proc {`gvim a.txt`}
Kernel::fork &p
seannakasone@yahoo.com wrote:
> How do i launch an external app from irb and get the irb prompt back
> immediately.
>
> For example, i want to launch my editor to edit a file in a popup
> window, but want to continue using the irb session while the file is
> being edited.
>
> I tried this, but the irb session suspends until i close the gvim
> editor.
>
> irb(main):001:0> exec "gvim a.txt"
>