Am 31.03.2011 17:15, schrieb Michal Suchanek:
> You can also use the system() function.
> 
> Thread.new { system "dd", "if=/dev/zero", "of=/dev/null" }
> => #<Thread:0x7f81cb7337b0 sleep>

A better way IMO is to use the #spawn method which calls the external
process and doesn't wait for it to complete. It immediately returns the
PID of the spawned process. Since Ruby 1.9 this works even on Windows.

Vale,
Marvin