From: Daniel Bovensiepen Date: 2004-06-21T00:48:58+09:00 Subject: Re: Subprocesses on UNIX/Linux hi, you have to use backticks (or so..).. you can find it next to the ?�= -------- result = `ls -l` puts result.to_s -------- bovi Am 20.06.2004 um 17:33 schrieb Meino Christian Cramer: > Hi, > > How can I call a subprocess ( like "ls -l" ) and get back the output > of that process without creating temporary files ? > > "Exec" does not work for me, since it will not return, > and "system" returns, but only with "true" or "flase" in its > luggage... > > Any help is very appreciated ! :O) > > Kind regard, > Meino > > >