From: snacktime Date: 2005-11-26T04:46:55+09:00 Subject: Re: system() on windows On 11/25/05, Damphyr wrote: > snacktime wrote: > > On 11/24/05, Damphyr wrote: > > > > > >>Try cmd=ExecCmd.new("rake");puts cmd.success?;puts cmd.output using the > >>class at the end of this message (Ara's solution for grabbing the output > >> of stderr and stdout on windows with a broken popen3 was better - > >>giving you separate stderr und stdout - but this one has benchmarking > >>too :) ). > > > > > > In initialize block_given? is returning false for me. Any idea why? > > > Did you pass a block? Actually I missed cmd.run in there (what do you > expect at quarter to two?). > Ya I shouldn't be up this late either. No I didn't pass the block:) Chris