Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit c8df8f4

Browse files
committed
Removed rescue block and changed system call to exec
1 parent c2a1b87 commit c8df8f4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

bin/cukesparse

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ require 'cukesparse'
44
begin
55
Cukesparse.reset!
66
Cukesparse.execute
7-
rescue Interrupt
8-
exit!
9-
Process.kill('INT', -Process.getpgrp)
107
end

lib/cukesparse.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def build_command
5353
end
5454

5555
return debug if @parameters.has_key? 'debug'
56-
system @command.join(' ')
57-
exit $?.exitstatus
56+
exec @command.join(' ')
5857
end
5958

6059
# Checks for task in arguments

0 commit comments

Comments
 (0)