From: Jean-Marc Beroud Date: 2001-04-24T01:40:24+09:00 Subject: [ruby-talk:14087] threads and IO.popen questions Hello, I'm starting coding with ruby. 2 questions: - It seems that all threads are running on a single CPU on a SMP systems (SUN Sparc)... Is it true? If yes, is there a trick to make threads running on all CPUs? - IO.popen. Assume that test.gz does not exists. file = "test.gz" begin IO.popen( "gzip -cd #{file}" ) rescue # I don't see this message $stderr.puts "ERROR: #{file}: #{$!}"; exit 1 end Why does IO.popen not generate an exception (gzip fails)? How can I test if gzip is successful or not? Greets, Jean-Marc Beroud