davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=6aa35011362985ad782217162007fed227ee4df5

commit 6aa35011362985ad782217162007fed227ee4df5
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Mon Jul 16 20:16:16 2018 +0200

    New 1.21 API: Ecore_Exe_Flags.ECORE_EXE_ISOLATE_IO
    
    just a new enum value
---
 efl/ecore/efl.ecore_exe.pxi | 10 ++++++++++
 include/efl.ecore.enums.pxd |  1 +
 2 files changed, 11 insertions(+)

diff --git a/efl/ecore/efl.ecore_exe.pxi b/efl/ecore/efl.ecore_exe.pxi
index 1ebaa86..df472da 100644
--- a/efl/ecore/efl.ecore_exe.pxi
+++ b/efl/ecore/efl.ecore_exe.pxi
@@ -45,6 +45,8 @@ cdef exe_flags2str(int value):
         flags.append("NOT_LEADER")
     if value & enums.ECORE_EXE_TERM_WITH_PARENT:
         flags.append("ECORE_EXE_TERM_WITH_PARENT")
+    if value & enums.ECORE_EXE_ISOLATE_IO:
+        flags.append("ECORE_EXE_ISOLATE_IO")
     return ", ".join(flags)
 
 
@@ -303,6 +305,10 @@ cdef class Exe(object):
         ECORE_EXE_TERM_WITH_PARENT
             Makes child receive SIGTERM when parent dies
 
+        ECORE_EXE_ISOLATE_IO
+            Try and isolate stdin/out and err of the process so it isn't
+            shared with the parent. Since 1.21
+
     :type flags: int
     :param data: extra data to be associated and available with ``data_get()``
 
@@ -552,6 +558,10 @@ cdef class Exe(object):
          - ECORE_EXE_USE_SH: Use /bin/sh to run the command.
          - ECORE_EXE_NOT_LEADER Do not use setsid() to have the
            executed process be its own session leader
+         - ECORE_EXE_TERM_WITH_PARENT Makes child receive SIGTERM when
+           parent dies
+         - ECORE_EXE_ISOLATE_IO Try and isolate stdin/out and err of the
+           process so it isn't shared with the parent
 
         :return: set of masks, ORed.
 
diff --git a/include/efl.ecore.enums.pxd b/include/efl.ecore.enums.pxd
index 1c0e4a5..3f4c04e 100644
--- a/include/efl.ecore.enums.pxd
+++ b/include/efl.ecore.enums.pxd
@@ -50,6 +50,7 @@ cdef extern from "Ecore.h":
         ECORE_EXE_USE_SH
         ECORE_EXE_NOT_LEADER
         ECORE_EXE_TERM_WITH_PARENT
+        ECORE_EXE_ISOLATE_IO
 
     ctypedef enum Ecore_Pos_Map:
         ECORE_POS_MAP_LINEAR

-- 


Reply via email to