r15997 - gnucash/trunk/src/app-utils - Fix gnc_spawn_process_async and gnc_detach_process.

Andreas Köhler andi5 at cvs.gnucash.org
Wed Apr 25 14:25:35 EDT 2007


Author: andi5
Date: 2007-04-25 14:25:34 -0400 (Wed, 25 Apr 2007)
New Revision: 15997
Trac: http://svn.gnucash.org/trac/changeset/15997

Modified:
   gnucash/trunk/src/app-utils/guile-util.c
Log:
Fix gnc_spawn_process_async and gnc_detach_process.

* Do not use g_child_watch_add if the spawn failed
* Give the child process a chance to die before we kill it
* Rather use g_message if file descriptors cannot be closed




More information about the gnucash-patches mailing list