Executing another program

Hi,

How can we ask ruby to execute another program and wait for it to
finish before resuming?

Thanks,
Maurício

program -options -bla -foo

system(“program”, “-options”, “-bla”, “-foo”)

···

On Wed, Feb 19, 2003 at 08:09:09PM +0900, Maurício wrote:

Hi,

How can we ask ruby to execute another program and wait for it to
finish before resuming?


_ _

__ __ | | ___ _ __ ___ __ _ _ __
'_ \ / | __/ __| '_ _ \ / ` | ’ \
) | (| | |
__ \ | | | | | (| | | | |
.__/ _,
|_|/| || ||_,|| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

Save yourself from the ‘Gates’ of hell, use Linux." – like that one.
– The_Kind @ LinuxNet