aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2018-07-16 20:16:16 +0200
committerDave Andreoli <dave@gurumeditation.it>2018-07-16 20:16:16 +0200
commit6aa35011362985ad782217162007fed227ee4df5 (patch)
tree41fa7f23a79efbcc439b756ab7a01a3e78fd085e
parentNew 1.21 API: Ctxpopup item_insert_before/after (diff)
downloadpython-efl-6aa35011362985ad782217162007fed227ee4df5.tar.gz
New 1.21 API: Ecore_Exe_Flags.ECORE_EXE_ISOLATE_IO
just a new enum value
-rw-r--r--efl/ecore/efl.ecore_exe.pxi10
-rw-r--r--include/efl.ecore.enums.pxd1
2 files changed, 11 insertions, 0 deletions
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