lib/cuke4nuke/main.rb in cuke4nuke-0.3.1 vs lib/cuke4nuke/main.rb in cuke4nuke-0.4.0

- old
+ new

@@ -1,9 +1,8 @@ #!/usr/bin/env ruby require 'rubygems' -require 'systemu' require 'win32/process' module Cuke4Nuke class Main def run(args) @@ -42,12 +41,11 @@ Process.kill(9, @cuke4nuke_server_pid) end def launch_cucumber(args) command = "cucumber #{args.join(' ')} 2>&1" - status, stdout, stderr = systemu(command) - puts stdout - status + system(command) + $? end def show_usage puts "Usage: cuke4nuke STEP_DEFINITION_DLL_PATH [CUCUMBER_ARGUMENTS]\n\n" puts "The following is Cucumber's help. Anything after the cucumber command can be"