\hypertarget{group__Ecore__Exe__Group}{}\section{Process Spawning Functions}
\label{group__Ecore__Exe__Group}\index{Process Spawning Functions@{Process Spawning Functions}}


This module is responsible for managing portable processes using Ecore.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Ecore__Exe__Event__Add}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Add}}
\begin{DoxyCompactList}\small\item\em Definition for a structure that stores information of a Process add event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Exe__Event__Del}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Del}}
\begin{DoxyCompactList}\small\item\em Definition for a structure that stores information of a Process exit event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Ecore__Exe__Group_ga2e582481831ba6241f6304dee1a158ec}\label{group__Ecore__Exe__Group_ga2e582481831ba6241f6304dee1a158ec}} 
\#define \mbox{\hyperlink{group__Ecore__Exe__Group_ga2e582481831ba6241f6304dee1a158ec}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+N\+H\+E\+R\+IT}}~9999
\begin{DoxyCompactList}\small\item\em Inherit priority from parent process. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Exe__Group_gaa159e067a820abcc4e34c8465514a7ae}\label{group__Ecore__Exe__Group_gaa159e067a820abcc4e34c8465514a7ae}} 
\#define {\bfseries \+\_\+\+E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+O\+\_\+\+C\+L\+A\+S\+S\+\_\+\+T\+Y\+PE}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Ecore__Exe__Group_ga13e2029894ee902e9ac52ab492b8742d}\label{group__Ecore__Exe__Group_ga13e2029894ee902e9ac52ab492b8742d}} 
typedef enum \mbox{\hyperlink{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}} {\bfseries Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}
\item 
\mbox{\Hypertarget{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}\label{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}} 
typedef void($\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}{Ecore\+\_\+\+Exe\+\_\+\+Cb}}) (void $\ast$data, const Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em A callback to run with the associated Ecore\+\_\+\+Exe, usually for cleanup purposes. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Exe__Group_gaf37c080c298e92468a3f6972f57dd415}\label{group__Ecore__Exe__Group_gaf37c080c298e92468a3f6972f57dd415}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Exe__Event__Add}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Add}} \mbox{\hyperlink{group__Ecore__Exe__Group_gaf37c080c298e92468a3f6972f57dd415}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Add}}
\begin{DoxyCompactList}\small\item\em Spawned Exe add event. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Exe__Group_ga5ce66424ac56c676b996ea162482a8e9}\label{group__Ecore__Exe__Group_ga5ce66424ac56c676b996ea162482a8e9}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Exe__Event__Del}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Del}} \mbox{\hyperlink{group__Ecore__Exe__Group_ga5ce66424ac56c676b996ea162482a8e9}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Del}}
\begin{DoxyCompactList}\small\item\em Spawned Exe exit event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}} \{ \newline
\mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa09f6aedb549a47677c3810995128304b}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+LE}}, 
\newline
\mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9402a8afb6fbccde2f4b8ea7c8330de6}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+B\+E\+L\+O\+W\+\_\+\+N\+O\+R\+M\+AL}}, 
\newline
\mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9683498607dc0bec65c4252b7e91708e}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+AL}}, 
\newline
\mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0be06f30e0e5ff0a616ec31859dc83b5}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+A\+B\+O\+V\+E\+\_\+\+N\+O\+R\+M\+AL}}, 
\newline
\mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa430693ca4ff578d64c39aa72edc1a7a6}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+GH}}, 
\newline
\mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0b4330d21ae5dc02b8de2e92133e604b}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+R\+E\+A\+L\+T\+I\+ME}}
 \}
\begin{DoxyCompactList}\small\item\em Defines the priority of the process. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga0814e120655d40962dbf78c919d48ea9}{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set}} (int pri)
\begin{DoxyCompactList}\small\item\em Sets the priority at which to launch processes. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ecore__Exe__Group_gae8e54149852c0e65ab209e1f864437f4}{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Gets the priority at which to launch processes. \end{DoxyCompactList}\item 
Ecore\+\_\+\+Exe $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run}} (const char $\ast$exe\+\_\+cmd, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Spawns a child process. \end{DoxyCompactList}\item 
Ecore\+\_\+\+Exe $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run}} (const char $\ast$exe\+\_\+cmd, \mbox{\hyperlink{group__Ecore_ga26f57bfa7ecfa8eee5fc053e342880c5}{Ecore\+\_\+\+Exe\+\_\+\+Flags}} flags, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Spawns a child process with its stdin/out available for communication. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga9759c16828017a493069d924edc588a9}{ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set}} (Ecore\+\_\+\+Exe $\ast$exe, \mbox{\hyperlink{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}{Ecore\+\_\+\+Exe\+\_\+\+Cb}} func)
\begin{DoxyCompactList}\small\item\em Defines a function to be called before really freeing the handle data. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Exe__Group_gac5a7d73f64baf6b752154836ff4123b9}{ecore\+\_\+exe\+\_\+send}} (Ecore\+\_\+\+Exe $\ast$exe, const void $\ast$data, int size)
\begin{DoxyCompactList}\small\item\em Sends data to the given child process which it receives on stdin. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga86dbd7abd0982a3067a29d6a2e752530}{ecore\+\_\+exe\+\_\+close\+\_\+stdin}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em The stdin of the given child process will close when the write buffer is empty. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_gafe2266fa29b2c4e59a52e03cc63d5318}{ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set}} (Ecore\+\_\+\+Exe $\ast$exe, int start\+\_\+bytes, int end\+\_\+bytes, int start\+\_\+lines, int end\+\_\+lines)
\begin{DoxyCompactList}\small\item\em Sets the auto pipe limits for the given process handle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct__Ecore__Exe__Event__Data}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data}} $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_gad50f57fe32eb478915ec84585c5ee65d}{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get}} (Ecore\+\_\+\+Exe $\ast$exe, \mbox{\hyperlink{group__Ecore_ga26f57bfa7ecfa8eee5fc053e342880c5}{Ecore\+\_\+\+Exe\+\_\+\+Flags}} flags)
\begin{DoxyCompactList}\small\item\em Gets the auto pipe data for the given process handle. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga5fd894d8e941928d0fa18de7ac922fae}{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free}} (\mbox{\hyperlink{struct__Ecore__Exe__Event__Data}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data}} $\ast$data)
\begin{DoxyCompactList}\small\item\em Frees the given event data. \end{DoxyCompactList}\item 
void $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_gab0948b947e85cf65c7a4e048705dcab8}{ecore\+\_\+exe\+\_\+free}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Frees the given process handle. \end{DoxyCompactList}\item 
pid\+\_\+t \mbox{\hyperlink{group__Ecore__Exe__Group_ga31fa4d88303d0dc45b3dfdb55fb53883}{ecore\+\_\+exe\+\_\+pid\+\_\+get}} (const Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the process ID of the given spawned process. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga6b00cbbfb0686c51638f615055f35ddd}{ecore\+\_\+exe\+\_\+tag\+\_\+set}} (Ecore\+\_\+\+Exe $\ast$exe, const char $\ast$tag)
\begin{DoxyCompactList}\small\item\em Sets the string tag for the given process handle. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_ga546181ce36424f7bc8494ca6a5d003c3}{ecore\+\_\+exe\+\_\+tag\+\_\+get}} (const Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the tag attached to the given process handle. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_gac271d6626b589b109652ad1436aa8abc}{ecore\+\_\+exe\+\_\+cmd\+\_\+get}} (const Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the command of the given spawned process. \end{DoxyCompactList}\item 
void $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_ga042dd98c0d59db095966f44560b617c8}{ecore\+\_\+exe\+\_\+data\+\_\+get}} (const Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the data attached to the given process handle. \end{DoxyCompactList}\item 
void $\ast$ \mbox{\hyperlink{group__Ecore__Exe__Group_ga17c50db4f2818b9e99368493a6b37ffc}{ecore\+\_\+exe\+\_\+data\+\_\+set}} (Ecore\+\_\+\+Exe $\ast$exe, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Sets the data attached to the given process handle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Ecore_ga26f57bfa7ecfa8eee5fc053e342880c5}{Ecore\+\_\+\+Exe\+\_\+\+Flags}} \mbox{\hyperlink{group__Ecore__Exe__Group_ga9dd9d9fbc56e7f11d0426e836b67f5f3}{ecore\+\_\+exe\+\_\+flags\+\_\+get}} (const Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the flags attached to the given process handle. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga06d82c76a7c0d504651de45416b9be22}{ecore\+\_\+exe\+\_\+pause}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Pauses the given process by sending it a {\ttfamily S\+I\+G\+S\+T\+OP} signal. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga9ec2599ea787d30df5a9c0fdba57f2e7}{ecore\+\_\+exe\+\_\+continue}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Continues the given paused process by sending it a {\ttfamily S\+I\+G\+C\+O\+NT} signal. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga4a340e85e138d0bcbba8167e7461cc0d}{ecore\+\_\+exe\+\_\+interrupt}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends the given spawned process a interrupt ({\ttfamily S\+I\+G\+I\+NT}) signal. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_gab24e92caaccfd7363d16408e7ccc626e}{ecore\+\_\+exe\+\_\+quit}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends the given spawned process a quit ({\ttfamily S\+I\+G\+Q\+U\+IT}) signal. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga0c9a539eed895a001256bdee44fe0c73}{ecore\+\_\+exe\+\_\+terminate}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends the given spawned process a terminate ({\ttfamily S\+I\+G\+T\+E\+RM}) signal. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga33305587a363c6f43bff032f94df6e16}{ecore\+\_\+exe\+\_\+kill}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Kills the given spawned process by sending it a {\ttfamily S\+I\+G\+K\+I\+LL} signal. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_gabf986356eee28b04d156b24cbdf277a0}{ecore\+\_\+exe\+\_\+signal}} (Ecore\+\_\+\+Exe $\ast$exe, int num)
\begin{DoxyCompactList}\small\item\em Sends a {\ttfamily S\+I\+G\+U\+SR} signal to the given spawned process. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Ecore__Exe__Group_ga44d11d21a5a761dd20d729c4394958ae}{ecore\+\_\+exe\+\_\+hup}} (Ecore\+\_\+\+Exe $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends a {\ttfamily S\+I\+G\+H\+UP} signal to the given spawned process. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Ecore__Exe__Group_ga288ddcacabf7eb953d8199a027113ba0}\label{group__Ecore__Exe__Group_ga288ddcacabf7eb953d8199a027113ba0}} 
int \mbox{\hyperlink{group__Ecore__Exe__Group_ga288ddcacabf7eb953d8199a027113ba0}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+A\+DD}}
\begin{DoxyCompactList}\small\item\em A child process has been added. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ecore__Exe__Group_gad156c5e5f46e3d3ca45cb1c4e118eae1}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+EL}}
\begin{DoxyCompactList}\small\item\em A child process has been deleted (it exited, naming consistent with the rest of ecore). \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ecore__Exe__Group_ga3a5071bbc714abfbcede55c39c6ecf8a}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA}}
\begin{DoxyCompactList}\small\item\em Data from a child process. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ecore__Exe__Group_gab102bc8eb4e2b3c7418da7d910c90a9c}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR}}
\begin{DoxyCompactList}\small\item\em Errors from a child process. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This module is responsible for managing portable processes using Ecore. 

With this module you\textquotesingle{}re able to spawn processes and you also can pause, quit your spawned processes. An interaction between your process and those spawned is possible using pipes or signals.

Example \begin{DoxyItemize}
\item \mbox{\hyperlink{Ecore_exe_simple_example_c}{Ecore\+\_\+exe}} \end{DoxyItemize}


\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}\label{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}} 
\index{Process Spawning Functions@{Process Spawning Functions}!\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority@{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}}
\index{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority@{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}{\_Ecore\_Exe\_Win32\_Priority}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}}}



Defines the priority of the process. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+LE@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+LE}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+LE@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+LE}}}\mbox{\Hypertarget{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa09f6aedb549a47677c3810995128304b}\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa09f6aedb549a47677c3810995128304b}} 
E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+LE&Idle priority, for monitoring the system. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+B\+E\+L\+O\+W\+\_\+\+N\+O\+R\+M\+AL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+B\+E\+L\+O\+W\+\_\+\+N\+O\+R\+M\+AL}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+B\+E\+L\+O\+W\+\_\+\+N\+O\+R\+M\+AL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+B\+E\+L\+O\+W\+\_\+\+N\+O\+R\+M\+AL}}}\mbox{\Hypertarget{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9402a8afb6fbccde2f4b8ea7c8330de6}\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9402a8afb6fbccde2f4b8ea7c8330de6}} 
E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+B\+E\+L\+O\+W\+\_\+\+N\+O\+R\+M\+AL&Below default priority. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+AL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+AL}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+AL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+AL}}}\mbox{\Hypertarget{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9683498607dc0bec65c4252b7e91708e}\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9683498607dc0bec65c4252b7e91708e}} 
E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+AL&Default priority. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+A\+B\+O\+V\+E\+\_\+\+N\+O\+R\+M\+AL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+A\+B\+O\+V\+E\+\_\+\+N\+O\+R\+M\+AL}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+A\+B\+O\+V\+E\+\_\+\+N\+O\+R\+M\+AL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+A\+B\+O\+V\+E\+\_\+\+N\+O\+R\+M\+AL}}}\mbox{\Hypertarget{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0be06f30e0e5ff0a616ec31859dc83b5}\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0be06f30e0e5ff0a616ec31859dc83b5}} 
E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+A\+B\+O\+V\+E\+\_\+\+N\+O\+R\+M\+AL&Above default priority. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+GH@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+GH}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+GH@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+GH}}}\mbox{\Hypertarget{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa430693ca4ff578d64c39aa72edc1a7a6}\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa430693ca4ff578d64c39aa72edc1a7a6}} 
E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+GH&High priority, use with care as other threads in the system will not get processor time. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+R\+E\+A\+L\+T\+I\+ME@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+R\+E\+A\+L\+T\+I\+ME}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+R\+E\+A\+L\+T\+I\+ME@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+R\+E\+A\+L\+T\+I\+ME}}}\mbox{\Hypertarget{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0b4330d21ae5dc02b8de2e92133e604b}\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0b4330d21ae5dc02b8de2e92133e604b}} 
E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+R\+E\+A\+L\+T\+I\+ME&Realtime priority, should be almost never used as it can interrupt system threads that manage mouse input, keyboard input, and background disk flushing. \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Exe__Group_ga0814e120655d40962dbf78c919d48ea9}\label{group__Ecore__Exe__Group_ga0814e120655d40962dbf78c919d48ea9}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set@{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set}}
\index{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set@{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set()}{ecore\_exe\_run\_priority\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set (\begin{DoxyParamCaption}\item[{int}]{pri }\end{DoxyParamCaption})}



Sets the priority at which to launch processes. 

This sets the priority of processes run by \mbox{\hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run()}} and \mbox{\hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}}. \begin{DoxyItemize}
\item On Windows, the child process is created by default with the \mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9683498607dc0bec65c4252b7e91708e}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+AL}} priority, unless the calling process is in \mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa09f6aedb549a47677c3810995128304b}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+LE}} or \mbox{\hyperlink{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9402a8afb6fbccde2f4b8ea7c8330de6}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+B\+E\+L\+O\+W\+\_\+\+N\+O\+R\+M\+AL}} priority. In that case, the child process inherits this priority. \item On other platforms, if set to \mbox{\hyperlink{group__Ecore__Exe__Group_ga2e582481831ba6241f6304dee1a158ec}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+N\+H\+E\+R\+IT}} child processes inherits the priority of their parent. This is the default.\end{DoxyItemize}

\begin{DoxyParams}{Parameters}
{\em pri} & Value an Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority value on Windows, {\ttfamily -\/20} to {\ttfamily 19} or \mbox{\hyperlink{group__Ecore__Exe__Group_ga2e582481831ba6241f6304dee1a158ec}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+N\+H\+E\+R\+IT}} on other OS. \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gae8e54149852c0e65ab209e1f864437f4}\label{group__Ecore__Exe__Group_gae8e54149852c0e65ab209e1f864437f4}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get@{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get}}
\index{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get@{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get()}{ecore\_exe\_run\_priority\_get()}}
{\footnotesize\ttfamily int ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets the priority at which to launch processes. 

This gets the priority of launched processes. See \mbox{\hyperlink{group__Ecore__Exe__Group_ga0814e120655d40962dbf78c919d48ea9}{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set()}} for details. This just returns the value set by this call.

\begin{DoxyReturn}{Returns}
The value set by \mbox{\hyperlink{group__Ecore__Exe__Group_ga0814e120655d40962dbf78c919d48ea9}{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set()}} 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}\label{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+run@{ecore\+\_\+exe\+\_\+run}}
\index{ecore\+\_\+exe\+\_\+run@{ecore\+\_\+exe\+\_\+run}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+run()}{ecore\_exe\_run()}}
{\footnotesize\ttfamily Ecore\+\_\+\+Exe$\ast$ ecore\+\_\+exe\+\_\+run (\begin{DoxyParamCaption}\item[{const char $\ast$}]{exe\+\_\+cmd,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Spawns a child process. 

This is now just a thin wrapper around \mbox{\hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}} 
\begin{DoxyParams}{Parameters}
{\em exe\+\_\+cmd} & The command to run with {\ttfamily /bin/sh}. \\
\hline
{\em data} & Data to attach to the returned process handle. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A process handle to the spawned process. 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
When you use this function you will have no permissions to write or read on the pipe that connects you with the spwaned process. If you need to do that use \mbox{\hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}} with the appropriated flags. 
\end{DoxyNote}


References ecore\+\_\+exe\+\_\+pipe\+\_\+run(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}\label{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+pipe\+\_\+run@{ecore\+\_\+exe\+\_\+pipe\+\_\+run}}
\index{ecore\+\_\+exe\+\_\+pipe\+\_\+run@{ecore\+\_\+exe\+\_\+pipe\+\_\+run}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}{ecore\_exe\_pipe\_run()}}
{\footnotesize\ttfamily Ecore\+\_\+\+Exe$\ast$ ecore\+\_\+exe\+\_\+pipe\+\_\+run (\begin{DoxyParamCaption}\item[{const char $\ast$}]{exe\+\_\+cmd,  }\item[{\mbox{\hyperlink{group__Ecore_ga26f57bfa7ecfa8eee5fc053e342880c5}{Ecore\+\_\+\+Exe\+\_\+\+Flags}}}]{flags,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



Spawns a child process with its stdin/out available for communication. 

This function forks and runs the given command using {\ttfamily /bin/sh}.

Note that the process handle is only valid until a child process terminated event is received. After all handlers for the child process terminated event have been called, the handle will be freed by Ecore.

This function does the same thing as \mbox{\hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run()}}, but also makes the standard in and/or out as well as stderr from the child process available for reading or writing. To write use \mbox{\hyperlink{group__Ecore__Exe__Group_gac5a7d73f64baf6b752154836ff4123b9}{ecore\+\_\+exe\+\_\+send()}}. To read listen to E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA or E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR events (set up handlers). Ecore may buffer read and error data until a newline character if asked for with the {\ttfamily flags}. All data will be included in the events (newlines will be replaced with N\+U\+L\+LS if line buffered). E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA events will only happen if the process is run with E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+AD enabled in the flags. The same with the error version. Writing will only be allowed with E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+W\+R\+I\+TE enabled in the flags.


\begin{DoxyParams}{Parameters}
{\em exe\+\_\+cmd} & The command to run with {\ttfamily /bin/sh}. \\
\hline
{\em flags} & The flag parameters for how to deal with inter-\/process I/O \\
\hline
{\em data} & Data to attach to the returned process handle. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A process handle to the spawned process. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}}.\end{Desc}


References efl\+\_\+add, and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.



Referenced by ecore\+\_\+exe\+\_\+run().

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga9759c16828017a493069d924edc588a9}\label{group__Ecore__Exe__Group_ga9759c16828017a493069d924edc588a9}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set@{ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set}}
\index{ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set@{ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set()}{ecore\_exe\_callback\_pre\_free\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe,  }\item[{\mbox{\hyperlink{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}{Ecore\+\_\+\+Exe\+\_\+\+Cb}}}]{func }\end{DoxyParamCaption})}



Defines a function to be called before really freeing the handle data. 

This might be useful for language bindings such as Python and Perl that need to deallocate wrappers associated with this handle.

This handle should never be modified by this call. It should be considered informative only. All getters are valid when the given function is called back.


\begin{DoxyParams}{Parameters}
{\em exe} & The child process to attach the pre\+\_\+free function. \\
\hline
{\em func} & The function to call before {\itshape exe} is freed. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gac5a7d73f64baf6b752154836ff4123b9}\label{group__Ecore__Exe__Group_gac5a7d73f64baf6b752154836ff4123b9}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+send@{ecore\+\_\+exe\+\_\+send}}
\index{ecore\+\_\+exe\+\_\+send@{ecore\+\_\+exe\+\_\+send}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+send()}{ecore\_exe\_send()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+exe\+\_\+send (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe,  }\item[{const void $\ast$}]{data,  }\item[{int}]{size }\end{DoxyParamCaption})}



Sends data to the given child process which it receives on stdin. 

This function writes to a child processes standard in, with unlimited buffering. This call will never block. It may fail if the system runs out of memory.


\begin{DoxyParams}{Parameters}
{\em exe} & The child process to send to \\
\hline
{\em data} & The data to send \\
\hline
{\em size} & The size of the data to send, in bytes \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if successful, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE} on failure. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}}.\end{Desc}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga86dbd7abd0982a3067a29d6a2e752530}\label{group__Ecore__Exe__Group_ga86dbd7abd0982a3067a29d6a2e752530}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+close\+\_\+stdin@{ecore\+\_\+exe\+\_\+close\+\_\+stdin}}
\index{ecore\+\_\+exe\+\_\+close\+\_\+stdin@{ecore\+\_\+exe\+\_\+close\+\_\+stdin}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+close\+\_\+stdin()}{ecore\_exe\_close\_stdin()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+close\+\_\+stdin (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



The stdin of the given child process will close when the write buffer is empty. 


\begin{DoxyParams}{Parameters}
{\em exe} & The child process \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gafe2266fa29b2c4e59a52e03cc63d5318}\label{group__Ecore__Exe__Group_gafe2266fa29b2c4e59a52e03cc63d5318}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set@{ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set}}
\index{ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set@{ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set()}{ecore\_exe\_auto\_limits\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe,  }\item[{int}]{start\+\_\+bytes,  }\item[{int}]{end\+\_\+bytes,  }\item[{int}]{start\+\_\+lines,  }\item[{int}]{end\+\_\+lines }\end{DoxyParamCaption})}



Sets the auto pipe limits for the given process handle. 

On Windows this function does nothing.


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
{\em start\+\_\+bytes} & Limit of bytes at start of output to buffer. \\
\hline
{\em end\+\_\+bytes} & Limit of bytes at end of output to buffer. \\
\hline
{\em start\+\_\+lines} & Limit of lines at start of output to buffer. \\
\hline
{\em end\+\_\+lines} & Limit of lines at end of output to buffer. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gad50f57fe32eb478915ec84585c5ee65d}\label{group__Ecore__Exe__Group_gad50f57fe32eb478915ec84585c5ee65d}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get@{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get}}
\index{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get@{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get()}{ecore\_exe\_event\_data\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct__Ecore__Exe__Event__Data}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data}}$\ast$ ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe,  }\item[{\mbox{\hyperlink{group__Ecore_ga26f57bfa7ecfa8eee5fc053e342880c5}{Ecore\+\_\+\+Exe\+\_\+\+Flags}}}]{flags }\end{DoxyParamCaption})}



Gets the auto pipe data for the given process handle. 


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
{\em flags} & Is this a E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+AD or E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+OR? \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The event data. 
\end{DoxyReturn}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga5fd894d8e941928d0fa18de7ac922fae}\label{group__Ecore__Exe__Group_ga5fd894d8e941928d0fa18de7ac922fae}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free@{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free}}
\index{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free@{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free()}{ecore\_exe\_event\_data\_free()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Ecore__Exe__Event__Data}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data}} $\ast$}]{data }\end{DoxyParamCaption})}



Frees the given event data. 


\begin{DoxyParams}{Parameters}
{\em data} & The given event data. \\
\hline
\end{DoxyParams}


References \+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data\+::data, and \+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data\+::lines.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gab0948b947e85cf65c7a4e048705dcab8}\label{group__Ecore__Exe__Group_gab0948b947e85cf65c7a4e048705dcab8}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+free@{ecore\+\_\+exe\+\_\+free}}
\index{ecore\+\_\+exe\+\_\+free@{ecore\+\_\+exe\+\_\+free}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+free()}{ecore\_exe\_free()}}
{\footnotesize\ttfamily void$\ast$ ecore\+\_\+exe\+\_\+free (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Frees the given process handle. 

Note that the process that the handle represents is unaffected by this function.


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data attached to the handle when \mbox{\hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run}} was called. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}}.\end{Desc}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+del(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga31fa4d88303d0dc45b3dfdb55fb53883}\label{group__Ecore__Exe__Group_ga31fa4d88303d0dc45b3dfdb55fb53883}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+pid\+\_\+get@{ecore\+\_\+exe\+\_\+pid\+\_\+get}}
\index{ecore\+\_\+exe\+\_\+pid\+\_\+get@{ecore\+\_\+exe\+\_\+pid\+\_\+get}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+pid\+\_\+get()}{ecore\_exe\_pid\_get()}}
{\footnotesize\ttfamily pid\+\_\+t ecore\+\_\+exe\+\_\+pid\+\_\+get (\begin{DoxyParamCaption}\item[{const Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Retrieves the process ID of the given spawned process. 


\begin{DoxyParams}{Parameters}
{\em exe} & Handle to the given spawned process. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The process ID on success, {\ttfamily -\/1} otherwise. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}}.\end{Desc}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga6b00cbbfb0686c51638f615055f35ddd}\label{group__Ecore__Exe__Group_ga6b00cbbfb0686c51638f615055f35ddd}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+tag\+\_\+set@{ecore\+\_\+exe\+\_\+tag\+\_\+set}}
\index{ecore\+\_\+exe\+\_\+tag\+\_\+set@{ecore\+\_\+exe\+\_\+tag\+\_\+set}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+tag\+\_\+set()}{ecore\_exe\_tag\_set()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+tag\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe,  }\item[{const char $\ast$}]{tag }\end{DoxyParamCaption})}



Sets the string tag for the given process handle. 


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
{\em tag} & The string tag to set on the process handle. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga546181ce36424f7bc8494ca6a5d003c3}\label{group__Ecore__Exe__Group_ga546181ce36424f7bc8494ca6a5d003c3}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+tag\+\_\+get@{ecore\+\_\+exe\+\_\+tag\+\_\+get}}
\index{ecore\+\_\+exe\+\_\+tag\+\_\+get@{ecore\+\_\+exe\+\_\+tag\+\_\+get}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+tag\+\_\+get()}{ecore\_exe\_tag\_get()}}
{\footnotesize\ttfamily const char$\ast$ ecore\+\_\+exe\+\_\+tag\+\_\+get (\begin{DoxyParamCaption}\item[{const Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Retrieves the tag attached to the given process handle. 

There is no need to free it as it just returns the internal pointer value. This value is only valid as long as the {\ttfamily exe} is valid or until the tag is set to something else on this {\ttfamily exe}.


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The string attached to {\ttfamily exe}. It is a handle to existing internal string and should not be modified, use \mbox{\hyperlink{group__Ecore__Exe__Group_ga6b00cbbfb0686c51638f615055f35ddd}{ecore\+\_\+exe\+\_\+tag\+\_\+set()}} to change it. It might be {\ttfamily N\+U\+LL}. 
\end{DoxyReturn}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gac271d6626b589b109652ad1436aa8abc}\label{group__Ecore__Exe__Group_gac271d6626b589b109652ad1436aa8abc}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+cmd\+\_\+get@{ecore\+\_\+exe\+\_\+cmd\+\_\+get}}
\index{ecore\+\_\+exe\+\_\+cmd\+\_\+get@{ecore\+\_\+exe\+\_\+cmd\+\_\+get}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+cmd\+\_\+get()}{ecore\_exe\_cmd\_get()}}
{\footnotesize\ttfamily const char$\ast$ ecore\+\_\+exe\+\_\+cmd\+\_\+get (\begin{DoxyParamCaption}\item[{const Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Retrieves the command of the given spawned process. 


\begin{DoxyParams}{Parameters}
{\em exe} & Handle to the given spawned process. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The command on success, {\ttfamily N\+U\+LL} otherwise. This string is the pointer to the internal value and must not be modified in any way. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga042dd98c0d59db095966f44560b617c8}\label{group__Ecore__Exe__Group_ga042dd98c0d59db095966f44560b617c8}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+data\+\_\+get@{ecore\+\_\+exe\+\_\+data\+\_\+get}}
\index{ecore\+\_\+exe\+\_\+data\+\_\+get@{ecore\+\_\+exe\+\_\+data\+\_\+get}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+data\+\_\+get()}{ecore\_exe\_data\_get()}}
{\footnotesize\ttfamily void$\ast$ ecore\+\_\+exe\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{const Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Retrieves the data attached to the given process handle. 


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data pointer attached to {\ttfamily exe} Given to \mbox{\hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run()}} or \mbox{\hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}} 
\end{DoxyReturn}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga17c50db4f2818b9e99368493a6b37ffc}\label{group__Ecore__Exe__Group_ga17c50db4f2818b9e99368493a6b37ffc}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+data\+\_\+set@{ecore\+\_\+exe\+\_\+data\+\_\+set}}
\index{ecore\+\_\+exe\+\_\+data\+\_\+set@{ecore\+\_\+exe\+\_\+data\+\_\+set}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+data\+\_\+set()}{ecore\_exe\_data\_set()}}
{\footnotesize\ttfamily void$\ast$ ecore\+\_\+exe\+\_\+data\+\_\+set (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Sets the data attached to the given process handle. 


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
{\em data} & The pointer to attach. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data pointer previously attached to {\ttfamily exe} with \mbox{\hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run()}}, \mbox{\hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}}, or \mbox{\hyperlink{group__Ecore__Exe__Group_ga17c50db4f2818b9e99368493a6b37ffc}{ecore\+\_\+exe\+\_\+data\+\_\+set()}} 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga9dd9d9fbc56e7f11d0426e836b67f5f3}\label{group__Ecore__Exe__Group_ga9dd9d9fbc56e7f11d0426e836b67f5f3}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+flags\+\_\+get@{ecore\+\_\+exe\+\_\+flags\+\_\+get}}
\index{ecore\+\_\+exe\+\_\+flags\+\_\+get@{ecore\+\_\+exe\+\_\+flags\+\_\+get}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+flags\+\_\+get()}{ecore\_exe\_flags\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Ecore_ga26f57bfa7ecfa8eee5fc053e342880c5}{Ecore\+\_\+\+Exe\+\_\+\+Flags}} ecore\+\_\+exe\+\_\+flags\+\_\+get (\begin{DoxyParamCaption}\item[{const Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Retrieves the flags attached to the given process handle. 


\begin{DoxyParams}{Parameters}
{\em exe} & The given process handle. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The flags attached to {\ttfamily exe}. 
\end{DoxyReturn}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga06d82c76a7c0d504651de45416b9be22}\label{group__Ecore__Exe__Group_ga06d82c76a7c0d504651de45416b9be22}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+pause@{ecore\+\_\+exe\+\_\+pause}}
\index{ecore\+\_\+exe\+\_\+pause@{ecore\+\_\+exe\+\_\+pause}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+pause()}{ecore\_exe\_pause()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+pause (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Pauses the given process by sending it a {\ttfamily S\+I\+G\+S\+T\+OP} signal. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga9ec2599ea787d30df5a9c0fdba57f2e7}\label{group__Ecore__Exe__Group_ga9ec2599ea787d30df5a9c0fdba57f2e7}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+continue@{ecore\+\_\+exe\+\_\+continue}}
\index{ecore\+\_\+exe\+\_\+continue@{ecore\+\_\+exe\+\_\+continue}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+continue()}{ecore\_exe\_continue()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+continue (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Continues the given paused process by sending it a {\ttfamily S\+I\+G\+C\+O\+NT} signal. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga4a340e85e138d0bcbba8167e7461cc0d}\label{group__Ecore__Exe__Group_ga4a340e85e138d0bcbba8167e7461cc0d}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+interrupt@{ecore\+\_\+exe\+\_\+interrupt}}
\index{ecore\+\_\+exe\+\_\+interrupt@{ecore\+\_\+exe\+\_\+interrupt}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+interrupt()}{ecore\_exe\_interrupt()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+interrupt (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Sends the given spawned process a interrupt ({\ttfamily S\+I\+G\+I\+NT}) signal. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gab24e92caaccfd7363d16408e7ccc626e}\label{group__Ecore__Exe__Group_gab24e92caaccfd7363d16408e7ccc626e}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+quit@{ecore\+\_\+exe\+\_\+quit}}
\index{ecore\+\_\+exe\+\_\+quit@{ecore\+\_\+exe\+\_\+quit}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+quit()}{ecore\_exe\_quit()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+quit (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Sends the given spawned process a quit ({\ttfamily S\+I\+G\+Q\+U\+IT}) signal. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga0c9a539eed895a001256bdee44fe0c73}\label{group__Ecore__Exe__Group_ga0c9a539eed895a001256bdee44fe0c73}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+terminate@{ecore\+\_\+exe\+\_\+terminate}}
\index{ecore\+\_\+exe\+\_\+terminate@{ecore\+\_\+exe\+\_\+terminate}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+terminate()}{ecore\_exe\_terminate()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+terminate (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Sends the given spawned process a terminate ({\ttfamily S\+I\+G\+T\+E\+RM}) signal. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga33305587a363c6f43bff032f94df6e16}\label{group__Ecore__Exe__Group_ga33305587a363c6f43bff032f94df6e16}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+kill@{ecore\+\_\+exe\+\_\+kill}}
\index{ecore\+\_\+exe\+\_\+kill@{ecore\+\_\+exe\+\_\+kill}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+kill()}{ecore\_exe\_kill()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+kill (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Kills the given spawned process by sending it a {\ttfamily S\+I\+G\+K\+I\+LL} signal. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_gabf986356eee28b04d156b24cbdf277a0}\label{group__Ecore__Exe__Group_gabf986356eee28b04d156b24cbdf277a0}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+signal@{ecore\+\_\+exe\+\_\+signal}}
\index{ecore\+\_\+exe\+\_\+signal@{ecore\+\_\+exe\+\_\+signal}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+signal()}{ecore\_exe\_signal()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+signal (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe,  }\item[{int}]{num }\end{DoxyParamCaption})}



Sends a {\ttfamily S\+I\+G\+U\+SR} signal to the given spawned process. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
{\em num} & The number user signal to send. Must be either {\ttfamily 1} or {\ttfamily 2}, or the signal will be ignored. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga44d11d21a5a761dd20d729c4394958ae}\label{group__Ecore__Exe__Group_ga44d11d21a5a761dd20d729c4394958ae}} 
\index{Process Spawning Functions@{Process Spawning Functions}!ecore\+\_\+exe\+\_\+hup@{ecore\+\_\+exe\+\_\+hup}}
\index{ecore\+\_\+exe\+\_\+hup@{ecore\+\_\+exe\+\_\+hup}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+exe\+\_\+hup()}{ecore\_exe\_hup()}}
{\footnotesize\ttfamily void ecore\+\_\+exe\+\_\+hup (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Exe $\ast$}]{exe }\end{DoxyParamCaption})}



Sends a {\ttfamily S\+I\+G\+H\+UP} signal to the given spawned process. 


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\hline
\end{DoxyParams}


References efl\+\_\+data\+\_\+scope\+\_\+get(), efl\+\_\+isa(), and E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+RN.



\subsection{Variable Documentation}
\mbox{\Hypertarget{group__Ecore__Exe__Group_gad156c5e5f46e3d3ca45cb1c4e118eae1}\label{group__Ecore__Exe__Group_gad156c5e5f46e3d3ca45cb1c4e118eae1}} 
\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+EL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+EL}}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+EL@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+EL}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+EL}{ECORE\_EXE\_EVENT\_DEL}}
{\footnotesize\ttfamily int E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+EL}



A child process has been deleted (it exited, naming consistent with the rest of ecore). 

\mbox{\Hypertarget{group__Ecore__Exe__Group_ga3a5071bbc714abfbcede55c39c6ecf8a}\label{group__Ecore__Exe__Group_ga3a5071bbc714abfbcede55c39c6ecf8a}} 
\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA}}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA}{ECORE\_EXE\_EVENT\_DATA}}
{\footnotesize\ttfamily int E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+TA}



Data from a child process. 

\begin{Desc}
\item[Examples\+: ]\par
\mbox{\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Exe__Group_gab102bc8eb4e2b3c7418da7d910c90a9c}\label{group__Ecore__Exe__Group_gab102bc8eb4e2b3c7418da7d910c90a9c}} 
\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR}}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection{\texorpdfstring{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR}{ECORE\_EXE\_EVENT\_ERROR}}
{\footnotesize\ttfamily int E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+OR}



Errors from a child process. 

