[前][次][番号順一覧][スレッド一覧]

ruby-changes:10572

From: akr <ko1@a...>
Date: Sun, 8 Feb 2009 21:06:54 +0900 (JST)
Subject: [ruby-changes:10572] Ruby:r22128 (trunk): * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):

akr	2009-02-08 21:06:42 +0900 (Sun, 08 Feb 2009)

  New Revision: 22128

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22128

  Log:
    * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
      detach spawned process.  [ruby-dev:37936]

  Modified files:
    trunk/ChangeLog
    trunk/lib/drb/extservm.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 22127)
+++ ChangeLog	(revision 22128)
@@ -1,3 +1,8 @@
+Sun Feb  8 21:05:35 2009  Tanaka Akira  <akr@f...>
+
+	* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
+	  detach spawned process.  [ruby-dev:37936]
+
 Sun Feb  8 20:30:29 2009  Tanaka Akira  <akr@f...>
 
 	* ext/socket/extconf.rb: check struct sockcred.
Index: lib/drb/extservm.rb
===================================================================
--- lib/drb/extservm.rb	(revision 22127)
+++ lib/drb/extservm.rb	(revision 22128)
@@ -79,7 +79,7 @@
 	@servers[name] = false
       end
       uri = @uri || DRb.uri
-      spawn("#{command} #{uri} #{name}")
+      Process.detach spawn("#{command} #{uri} #{name}")
     end
   end
 end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]