Process.run("ls")
puts "I am done"
#=> I am done
Process.exec("ls")
puts "I am done"
#=> exec.cr ...
system "ls"
puts "I am done"
#=> exec.cr ...
#=> I am done
The first or third output is what I want but they both wait for the command to finish.