From: Joel VanderWerf Date: 2005-06-24T03:59:38+09:00 Subject: Re: Shell type Panich, Alexander wrote: > Under Linux, by default, method Kernel.system(command) (backticks as > well) executes command in the subshell of SH type. Is this really true? irb(main):019:0> puts `pstree -a #{$$}` irb ... └─pstree -a 8921 => nil irb(main):020:0> Thread.new {system "/usr/local/bin/ruby", "-e", "puts %{foo}; sleep 10"} => # irb(main):021:0> foo irb(main):022:0* puts `pstree -a #{$$}` irb ... ├─pstree -a 8921 └─ruby -e puts\040%{foo};\040sleep\04010 => nil This is linux, too. I don't see any sh invocation. It's not hidden by pstree is it?