Enlightenment CVS committal

Author  : rbdpngn
Project : misc
Module  : engage

Dir     : misc/engage/src


Modified Files:
        icon.c 


Log Message:
Use ecore_exe_run to avoid killing spawned processes when engage exits.

===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/icon.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- icon.c      21 Apr 2004 04:27:13 -0000      1.21
+++ icon.c      22 Apr 2004 20:22:09 -0000      1.22
@@ -482,13 +482,7 @@
     if (!strcmp(emission, "engage,app,open")) {
       switch (icon->type) {
       case application_link:
-        if ((pid = fork()) < 0)
-          return;
-        else if (pid == 0) {    /* child */
-          execl("/bin/sh", "sh", "-c", icon->data.applnk.command, NULL);
-        } else {                /* parent */
-
-        }
+        ecore_exe_run(icon->data.applnk.command, NULL);
         break;
       case docked_icon:
         break;




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to