Skip to content

Commit d51ec5b

Browse files
author
Anonymous Contributor
committed
Revert "Create a new process group when spawning a new process. This should prevent from SIGINT propagating to spawned processes. (ddollar#528)"
This reverts commit e7042b9.
1 parent ba70412 commit d51ec5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/foreman/process.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ def run(options={})
4949
env = @options[:env].merge(options[:env] || {})
5050
output = options[:output] || $stdout
5151
runner = "#{Foreman.runner}".shellescape
52-
52+
5353
Dir.chdir(cwd) do
54-
Process.spawn(env, expanded_command(env), :out => output, :err => output, :pgroup => true)
54+
Process.spawn env, expanded_command(env), :out => output, :err => output
5555
end
5656
end
5757

0 commit comments

Comments
 (0)