From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-28T12:33:55+09:00 Subject: Re: system calls On Tue, 27 May 2003 23:24:50 +0900, mgarriss wrote: > but what I really want is all three, like: > > out, err, ret = really_cool_system( "date" ) > > Please Help! I had the exact same problem, so I wrote a replacement for 'system'. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/metaeditor/experiments/cpp_embed_ruby/test/output/b.rb?rev=1.29&content-type=text/vnd.viewcvs-markup The unit-testing is here (look here for how to use it :-) http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/metaeditor/experiments/cpp_embed_ruby/test/output/testall.rb?rev=1.15&content-type=text/vnd.viewcvs-markup 'system' is working perfect. But there is still some problems with 'fork'. -- Simon Strandgaard