summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-20 03:40:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-20 03:40:02 +0000
commita54cbe65a9e35fdea4f9989017dcd87ebb2e68a7 (patch)
tree2fccdbdeda98fd694db8b02a328ee9335570c040 /lib
parent79bb49b61ba9a614a401e22b4563a5ee7e2a5725 (diff)
* process.c (rb_detach_process): store detached process ID in the
thread local storage. moved from lib/open3.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/open3.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/open3.rb b/lib/open3.rb
index f707f55409..d776de7445 100644
--- a/lib/open3.rb
+++ b/lib/open3.rb
@@ -66,7 +66,6 @@ module Open3
pid = spawn(*cmd, STDIN=>pw[0], STDOUT=>pr[1], STDERR=>pe[1])
wait_thr = Process.detach(pid)
- wait_thr[:pid] = pid
pw[0].close
pr[1].close
pe[1].close