diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_process.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 5dbac8e8e0..c787e78749 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1718,7 +1718,8 @@ class TestProcess < Test::Unit::TestCase def test_popen_exit bug11510 = '[ruby-core:70671] [Bug #11510]' pid = nil - opt = {timeout: 10, pgroup: true, stdout_filter: ->(s) {pid = s}} + opt = {timeout: 10, stdout_filter: ->(s) {pid = s}} + opt[:pgroup] = true unless windows? assert_ruby_status(["-", RUBY], <<-'end;', bug11510, **opt) RUBY = ARGV[0] th = Thread.start { |