1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):

detach server processes to get rid of zombies.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-03-04 02:46:37 +00:00
parent af81ac5832
commit de4d3af245
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Mar 4 11:46:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
detach server processes to get rid of zombies.
Thu Mar 4 08:08:36 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/syck/rubyext.c: get rid of warnings.

View file

@ -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