From: Paul Lutus Date: 2006-09-24T00:40:18+09:00 Subject: Re: catching process output (Kernel#system) Chris Donhofer wrote: > hi! > > when executing a program via the system method, how do i catch the > output of the executed program? By not using "Kernel::system()". To get the error status of a completed process: err = system("command") To get the output from a process: output = `command` > > furthermore, is there a tutorial describing how to use the system > function the best way? That depends on what you think is the best way. Maybe you could describe the application you have in mind. -- Paul Lutus http://www.arachnoid.com