lib/shellshot.rb in shellshot-0.4.2 vs lib/shellshot.rb in shellshot-0.4.3
- old
+ new
@@ -21,10 +21,10 @@
prepare_pipes
self.pid = fork do
close_reading_pipes
redefine_stds
- system_exec(command)
+ system_exec(*command)
end
begin
wait_for(timeout)
rescue Timeout::Error => e