2012-04-12 52 views

回答

1

你試過:

run "echo 'this will make it to the terminal'" 

我只是猜測可能的工作。

1

這只是紅寶石所以puts是在我的情況`$ stderr.puts「關於運行命令」`但是工作的`提出的「關於運行命令」精

puts "About to run a command" 
run! "/bin/some/command" 
puts "Finished" 

# Sometimes the order seems off so try 
$stderr.puts "About to run a command" 
$stderr.flush 
+0

'似乎是失敗的 – illusionist 2015-06-11 05:44:29