On upgrading from 2.0 to 3.1, a number of my scripts that use "-bg"
broke. It seems that the child process was exiting before performing
any work. Searching the list, I saw a suggestion to use "-nostdin"
when using "-bg". That works fine. However, if background mode
requires "nostdin", would the following change make sense?

--- sipp.cpp.old        2009-02-04 16:23:18.000000000 -0500
+++ sipp.cpp.new        2009-02-04 16:24:04.000000000 -0500
@@ -5008,7 +5008,7 @@

   /* Creating the remote control socket thread */
   setup_ctrl_socket();
-  if (!nostdin) {
+  if (!nostdin && !backgroundMode) {
     setup_stdin_socket();
   }

Thanks,
Matt

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to