summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-04 02:46:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-04 02:46:37 +0000
commite50037a9232a17684316864bc3a0b16db9b5b04c (patch)
tree68a8f8f81b286788baabf70a116e4a01401b438a /lib
parent2fcd0752044c36baca3ed05673f19295c0238cd9 (diff)
downloadruby-e50037a9232a17684316864bc3a0b16db9b5b04c.tar.gz
ruby-e50037a9232a17684316864bc3a0b16db9b5b04c.tar.xz
ruby-e50037a9232a17684316864bc3a0b16db9b5b04c.zip
* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
detach server processes to get rid of zombies. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/drb/extservm.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/drb/extservm.rb b/lib/drb/extservm.rb
index 6367fe5e1..d29a0802a 100644
--- a/lib/drb/extservm.rb
+++ b/lib/drb/extservm.rb
@@ -84,7 +84,8 @@ module DRb
return if @servers.include?(name)
@servers[name] = false
end
- Process.spawn("#{command} #{DRb.uri} #{name}")
+ Process.detach(Process.spawn("#{command} #{DRb.uri} #{name}"))
+ true
end
end
end