discomfitor pushed a commit to branch master.

commit 9721885ce4fc0f92afa1c13c7176764298ad9847
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jun 21 14:35:17 2013 +0100

    if an e_exec instance gets an exit event, but is a phony exec, block the 
event
---
 src/bin/e_exec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_exec.c b/src/bin/e_exec.c
index 538fee2..721e0ba 100644
--- a/src/bin/e_exec.c
+++ b/src/bin/e_exec.c
@@ -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) &&

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to