lib/symphony/tasks/ssh.rb
changeset 4 3972315383b3
parent 3 62196065e9ea
child 5 6177a734f764
--- a/lib/symphony/tasks/ssh.rb	Mon May 12 16:34:12 2014 -0700
+++ b/lib/symphony/tasks/ssh.rb	Tue May 13 14:38:21 2014 -0700
@@ -149,7 +149,7 @@
 		parent_reader, child_writer = IO.pipe
 		child_reader, parent_writer = IO.pipe
 
-		pid = spawn( *cmd, :out => child_writer, :in => child_reader, :close_others => true )
+		pid = Process.spawn( *cmd, :out => child_writer, :in => child_reader, :close_others => true )
 		child_writer.close
 		child_reader.close