From: Wang Dong Date: 2007-03-06T11:55:09+09:00 Subject: Re: how to run a command line command also %x(vim somefile) "nephish" ??????:1173124322.870599.25150@h3g2000cwc.googlegroups.com... > On Mar 5, 1:41 pm, "Dale Martenson" wrote: >> On Mar 5, 12:22 pm, "shawn bright" wrote: >> >> > lo there all >> > i have an app that i want to launch an application from. >> > i use linux with a bash shell. If i want to launch a program from my >> > terminal, i use >> > /myprogram >> > or /home/myuser/myprogram >> >> > how could i do something like this from a ruby script ? >> >> > thanks >> > sk >> >> There are a number of ways to accomplish this: >> >> system( 'vim somefile' ) >> >> or >> >> `vim somefile` >> >> Note: those are back ticks by the way. > > cool enough, works great, thanks > sk >