Skip to content

Commit

Permalink
quickfix for spawn on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
e2 committed Feb 20, 2015
1 parent 7f19067 commit 3a4732b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/guard
Expand Up @@ -15,6 +15,7 @@ else
end

def ignore_interrupts(*args)
args.unshift(RbConfig.ruby) if Gem.win_platform?
pid = spawn(*args)
begin
Process.wait(pid)
Expand Down

0 comments on commit 3a4732b

Please sign in to comment.