if an e_exec instance gets an exit event, but is a phony exec, block the event
authorMike Blumenkrantz <m.blumenkran@samsung.com>
Fri, 21 Jun 2013 13:35:17 +0000 (14:35 +0100)
committerMike Blumenkrantz <m.blumenkran@samsung.com>
Fri, 21 Jun 2013 13:37:46 +0000 (14:37 +0100)
src/bin/e_exec.c

index 538fee2..721e0ba 100644 (file)
@@ -703,6 +703,7 @@ _e_exec_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
      return ECORE_CALLBACK_PASS_ON;
    inst = ecore_exe_data_get(ev->exe);
    if (!inst) return ECORE_CALLBACK_PASS_ON;
+   if (inst->phony) return ECORE_CALLBACK_RENEW;
 
    /* /bin/sh uses this if cmd not found */
    if ((ev->exited) &&