\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 \hyperlink{struct__Ecore__Exe__Event__Add}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Add}
\begin{DoxyCompactList}\small\item\em A structure that stores information of a Process add event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Exe__Event__Del}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Del}
\begin{DoxyCompactList}\small\item\em A structure that stores information of a Process exit event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Exe__Event__Data__Line}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data\+\_\+\+Line}
\begin{DoxyCompactList}\small\item\em A structure that stores information of lines data from a child process. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Exe__Event__Data}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data}
\begin{DoxyCompactList}\small\item\em A structure that stores information of data from a child process event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Ecore__Exe__Group_ga2e582481831ba6241f6304dee1a158ec}{}\#define \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\+I\+T}~9999\label{group__Ecore__Exe__Group_ga2e582481831ba6241f6304dee1a158ec}

\begin{DoxyCompactList}\small\item\em Inherit priority from parent process. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Exe__Group_gaa159e067a820abcc4e34c8465514a7ae}{}\#define {\bfseries \+\_\+\+E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+O\+\_\+\+C\+L\+A\+S\+S\+\_\+\+T\+Y\+P\+E}\label{group__Ecore__Exe__Group_gaa159e067a820abcc4e34c8465514a7ae}

\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Ecore__Exe__Group_gac7e77113a58180382ebab546bacce07e}{}typedef enum \hyperlink{group__Ecore__Exe__Group_ga6fb12d2a7c21ff1340c0f69447f91599}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags} {\bfseries Ecore\+\_\+\+Exe\+\_\+\+Flags}\label{group__Ecore__Exe__Group_gac7e77113a58180382ebab546bacce07e}

\item 
\hypertarget{group__Ecore__Exe__Group_ga13e2029894ee902e9ac52ab492b8742d}{}typedef enum \hyperlink{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority} {\bfseries Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}\label{group__Ecore__Exe__Group_ga13e2029894ee902e9ac52ab492b8742d}

\item 
\hypertarget{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{}typedef \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe}\label{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}

\begin{DoxyCompactList}\small\item\em A handle for spawned processes. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}{}typedef void($\ast$ \hyperlink{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}{Ecore\+\_\+\+Exe\+\_\+\+Cb}) (void $\ast$data, const \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)\label{group__Ecore__Exe__Group_ga13ecbbae5c3cd4a8cb6b6267cdb984c9}

\begin{DoxyCompactList}\small\item\em A callback to run with the associated \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe}, usually for cleanup purposes. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Exe__Group_gaf37c080c298e92468a3f6972f57dd415}{}typedef struct \hyperlink{struct__Ecore__Exe__Event__Add}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Add} \hyperlink{group__Ecore__Exe__Group_gaf37c080c298e92468a3f6972f57dd415}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Add}\label{group__Ecore__Exe__Group_gaf37c080c298e92468a3f6972f57dd415}

\begin{DoxyCompactList}\small\item\em Spawned Exe add event. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Exe__Group_ga5ce66424ac56c676b996ea162482a8e9}{}typedef struct \hyperlink{struct__Ecore__Exe__Event__Del}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Del} \hyperlink{group__Ecore__Exe__Group_ga5ce66424ac56c676b996ea162482a8e9}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Del}\label{group__Ecore__Exe__Group_ga5ce66424ac56c676b996ea162482a8e9}

\begin{DoxyCompactList}\small\item\em Spawned Exe exit event. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Exe__Group_ga09b894017e3b396266df6ed3dc3e7e81}{}typedef struct \hyperlink{struct__Ecore__Exe__Event__Data__Line}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data\+\_\+\+Line} \hyperlink{group__Ecore__Exe__Group_ga09b894017e3b396266df6ed3dc3e7e81}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data\+\_\+\+Line}\label{group__Ecore__Exe__Group_ga09b894017e3b396266df6ed3dc3e7e81}

\begin{DoxyCompactList}\small\item\em Lines from a child process. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Exe__Group_ga799793cb0c71d5ab0b6fae33ce71b2ba}{}typedef struct \hyperlink{struct__Ecore__Exe__Event__Data}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data} \hyperlink{group__Ecore__Exe__Group_ga799793cb0c71d5ab0b6fae33ce71b2ba}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data}\label{group__Ecore__Exe__Group_ga799793cb0c71d5ab0b6fae33ce71b2ba}

\begin{DoxyCompactList}\small\item\em Data from a child process. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Ecore__Exe__Group_ga6fb12d2a7c21ff1340c0f69447f91599}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags} \{ \\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599af478d3385803541b39a3c6ca44f136aa}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+N\+E} = 0, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a76bc9e447a456727dc2d686b4682b512}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D} = 1, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a83dcb150caa9f5f4ce548eaa4a92c6af}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+W\+R\+I\+T\+E} = 2, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599ad3f4759d4ba470d6f5504621c903011a}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R} = 4, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599ae97566413d58b792e92369966ffeece5}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D} = 8, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599aa8d2dc2d658ba80c75c4fce0c2045583}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D} = 16, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a6abaaef6ac55c2317bdd23cf71167062}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+A\+U\+T\+O} = 32, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a302fabf13b4f24007eba55b9e6041132}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+R\+E\+S\+P\+A\+W\+N} = 64, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a9ddffda12f29c003ebf2c34506779637}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+U\+S\+E\+\_\+\+S\+H} = 128, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599aaabb08cf4feb543f62e47c9baeac224e}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+T\+\_\+\+L\+E\+A\+D\+E\+R} = 256, 
\\*
\hyperlink{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a968d01a60d0c8ec23eaed210a9723192}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+T\+E\+R\+M\+\_\+\+W\+I\+T\+H\+\_\+\+P\+A\+R\+E\+N\+T} = 512
 \}
\begin{DoxyCompactList}\small\item\em Flags for executing a child with its stdin and/or stdout piped back. \end{DoxyCompactList}\item 
enum \hyperlink{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority} \{ \\*
\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\+L\+E}, 
\\*
\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\+A\+L}, 
\\*
\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\+A\+L}, 
\\*
\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\+A\+L}, 
\\*
\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\+G\+H}, 
\\*
\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\+M\+E}
 \}
\begin{DoxyCompactList}\small\item\em Defines the priority of the proccess. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \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 \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 
\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$ \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 
\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$ \hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run} (const char $\ast$exe\+\_\+cmd, 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 \hyperlink{group__Ecore__Exe__Group_ga9759c16828017a493069d924edc588a9}{ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe, \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 
\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Exe__Group_gac5a7d73f64baf6b752154836ff4123b9}{ecore\+\_\+exe\+\_\+send} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{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 \hyperlink{group__Ecore__Exe__Group_ga86dbd7abd0982a3067a29d6a2e752530}{ecore\+\_\+exe\+\_\+close\+\_\+stdin} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{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 \hyperlink{group__Ecore__Exe__Group_gafe2266fa29b2c4e59a52e03cc63d5318}{ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{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 
\hyperlink{group__Ecore__Exe__Group_ga799793cb0c71d5ab0b6fae33ce71b2ba}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data} $\ast$ \hyperlink{group__Ecore__Exe__Group_gad50f57fe32eb478915ec84585c5ee65d}{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe, Ecore\+\_\+\+Exe\+\_\+\+Flags flags)
\begin{DoxyCompactList}\small\item\em Gets the auto pipe data for the given process handle. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga5fd894d8e941928d0fa18de7ac922fae}{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free} (\hyperlink{group__Ecore__Exe__Group_ga799793cb0c71d5ab0b6fae33ce71b2ba}{Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data} $\ast$data)
\begin{DoxyCompactList}\small\item\em Frees the given event data. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Ecore__Exe__Group_gab0948b947e85cf65c7a4e048705dcab8}{ecore\+\_\+exe\+\_\+free} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Frees the given process handle. \end{DoxyCompactList}\item 
pid\+\_\+t \hyperlink{group__Ecore__Exe__Group_ga31fa4d88303d0dc45b3dfdb55fb53883}{ecore\+\_\+exe\+\_\+pid\+\_\+get} (const \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the process I\+D of the given spawned process. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga6b00cbbfb0686c51638f615055f35ddd}{ecore\+\_\+exe\+\_\+tag\+\_\+set} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{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$ \hyperlink{group__Ecore__Exe__Group_ga546181ce36424f7bc8494ca6a5d003c3}{ecore\+\_\+exe\+\_\+tag\+\_\+get} (const \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the tag attached to the given process handle. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Ecore__Exe__Group_gac271d6626b589b109652ad1436aa8abc}{ecore\+\_\+exe\+\_\+cmd\+\_\+get} (const \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the command of the given spawned process. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Ecore__Exe__Group_ga042dd98c0d59db095966f44560b617c8}{ecore\+\_\+exe\+\_\+data\+\_\+get} (const \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the data attached to the given process handle. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__Ecore__Exe__Group_ga17c50db4f2818b9e99368493a6b37ffc}{ecore\+\_\+exe\+\_\+data\+\_\+set} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Sets the data attached to the given process handle. \end{DoxyCompactList}\item 
Ecore\+\_\+\+Exe\+\_\+\+Flags \hyperlink{group__Ecore__Exe__Group_ga9dd9d9fbc56e7f11d0426e836b67f5f3}{ecore\+\_\+exe\+\_\+flags\+\_\+get} (const \hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Retrieves the flags attached to the given process handle. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga06d82c76a7c0d504651de45416b9be22}{ecore\+\_\+exe\+\_\+pause} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Pauses the given process by sending it a {\ttfamily S\+I\+G\+S\+T\+O\+P} signal. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga9ec2599ea787d30df5a9c0fdba57f2e7}{ecore\+\_\+exe\+\_\+continue} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Continues the given paused process by sending it a {\ttfamily S\+I\+G\+C\+O\+N\+T} signal. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga4a340e85e138d0bcbba8167e7461cc0d}{ecore\+\_\+exe\+\_\+interrupt} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends the given spawned process a interrupt ({\ttfamily S\+I\+G\+I\+N\+T}) signal. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_gab24e92caaccfd7363d16408e7ccc626e}{ecore\+\_\+exe\+\_\+quit} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends the given spawned process a quit ({\ttfamily S\+I\+G\+Q\+U\+I\+T}) signal. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga0c9a539eed895a001256bdee44fe0c73}{ecore\+\_\+exe\+\_\+terminate} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends the given spawned process a terminate ({\ttfamily S\+I\+G\+T\+E\+R\+M}) signal. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga33305587a363c6f43bff032f94df6e16}{ecore\+\_\+exe\+\_\+kill} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Kills the given spawned process by sending it a {\ttfamily S\+I\+G\+K\+I\+L\+L} signal. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_gabf986356eee28b04d156b24cbdf277a0}{ecore\+\_\+exe\+\_\+signal} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe, int num)
\begin{DoxyCompactList}\small\item\em Sends a {\ttfamily S\+I\+G\+U\+S\+R} signal to the given spawned process. \end{DoxyCompactList}\item 
void \hyperlink{group__Ecore__Exe__Group_ga44d11d21a5a761dd20d729c4394958ae}{ecore\+\_\+exe\+\_\+hup} (\hyperlink{group__Ecore__Exe__Group_ga4f1476f2054418e6436880883e04a141}{Ecore\+\_\+\+Exe} $\ast$exe)
\begin{DoxyCompactList}\small\item\em Sends a {\ttfamily S\+I\+G\+H\+U\+P} signal to the given spawned process. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Ecore__Exe__Group_ga288ddcacabf7eb953d8199a027113ba0}{}int \hyperlink{group__Ecore__Exe__Group_ga288ddcacabf7eb953d8199a027113ba0}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+A\+D\+D}\label{group__Ecore__Exe__Group_ga288ddcacabf7eb953d8199a027113ba0}

\begin{DoxyCompactList}\small\item\em A child process has been added. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__Exe__Group_gad156c5e5f46e3d3ca45cb1c4e118eae1}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+E\+L}
\begin{DoxyCompactList}\small\item\em A child process has been deleted (it exited, naming consistent with the rest of ecore). \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__Exe__Group_ga3a5071bbc714abfbcede55c39c6ecf8a}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A}
\begin{DoxyCompactList}\small\item\em Data from a child process. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__Exe__Group_gab102bc8eb4e2b3c7418da7d910c90a9c}{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+O\+R}
\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 \hyperlink{Ecore_exe_simple_example_c}{Ecore\+\_\+exe} \end{DoxyItemize}


\subsection{Enumeration Type Documentation}
\hypertarget{group__Ecore__Exe__Group_ga6fb12d2a7c21ff1340c0f69447f91599}{}\index{Process Spawning Functions@{Process Spawning Functions}!\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags@{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags}}
\index{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags@{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection[{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf \+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Flags}}\label{group__Ecore__Exe__Group_ga6fb12d2a7c21ff1340c0f69447f91599}


Flags for executing a child with its stdin and/or stdout piped back. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+N\+E@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+N\+E}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+N\+E@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+N\+E}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599af478d3385803541b39a3c6ca44f136aa}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+N\+E\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599af478d3385803541b39a3c6ca44f136aa}
}]No exe flags at all. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a76bc9e447a456727dc2d686b4682b512}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a76bc9e447a456727dc2d686b4682b512}
}]Exe Pipe Read mask. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+W\+R\+I\+T\+E@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+W\+R\+I\+T\+E}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+W\+R\+I\+T\+E@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+W\+R\+I\+T\+E}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a83dcb150caa9f5f4ce548eaa4a92c6af}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+W\+R\+I\+T\+E\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a83dcb150caa9f5f4ce548eaa4a92c6af}
}]Exe Pipe Write mask. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599ad3f4759d4ba470d6f5504621c903011a}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599ad3f4759d4ba470d6f5504621c903011a}
}]Exe Pipe error mask. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599ae97566413d58b792e92369966ffeece5}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599ae97566413d58b792e92369966ffeece5}
}]Reads are buffered until a newline and split 1 line per Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data\+\_\+\+Line. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599aa8d2dc2d658ba80c75c4fce0c2045583}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+I\+N\+E\+\_\+\+B\+U\+F\+F\+E\+R\+E\+D\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599aa8d2dc2d658ba80c75c4fce0c2045583}
}]Errors are buffered until a newline and split 1 line per Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data\+\_\+\+Line. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+A\+U\+T\+O@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+A\+U\+T\+O}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+A\+U\+T\+O@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+A\+U\+T\+O}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a6abaaef6ac55c2317bdd23cf71167062}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+A\+U\+T\+O\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a6abaaef6ac55c2317bdd23cf71167062}
}]stdout and stderr are buffered automatically \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+R\+E\+S\+P\+A\+W\+N@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+R\+E\+S\+P\+A\+W\+N}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+R\+E\+S\+P\+A\+W\+N@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+R\+E\+S\+P\+A\+W\+N}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a302fabf13b4f24007eba55b9e6041132}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+R\+E\+S\+P\+A\+W\+N\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a302fabf13b4f24007eba55b9e6041132}
}]F\+I\+X\+M\+E\+: Exe is restarted if it dies. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+U\+S\+E\+\_\+\+S\+H@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+U\+S\+E\+\_\+\+S\+H}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+U\+S\+E\+\_\+\+S\+H@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+U\+S\+E\+\_\+\+S\+H}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a9ddffda12f29c003ebf2c34506779637}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+U\+S\+E\+\_\+\+S\+H\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a9ddffda12f29c003ebf2c34506779637}
}]Use /bin/sh to run the command. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+T\+\_\+\+L\+E\+A\+D\+E\+R@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+T\+\_\+\+L\+E\+A\+D\+E\+R}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+T\+\_\+\+L\+E\+A\+D\+E\+R@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+T\+\_\+\+L\+E\+A\+D\+E\+R}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599aaabb08cf4feb543f62e47c9baeac224e}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+N\+O\+T\+\_\+\+L\+E\+A\+D\+E\+R\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599aaabb08cf4feb543f62e47c9baeac224e}
}]Do not use setsid() to have the executed process be its own session leader. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+T\+E\+R\+M\+\_\+\+W\+I\+T\+H\+\_\+\+P\+A\+R\+E\+N\+T@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+T\+E\+R\+M\+\_\+\+W\+I\+T\+H\+\_\+\+P\+A\+R\+E\+N\+T}!Process Spawning Functions@{Process Spawning Functions}}\index{Process Spawning Functions@{Process Spawning Functions}!E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+T\+E\+R\+M\+\_\+\+W\+I\+T\+H\+\_\+\+P\+A\+R\+E\+N\+T@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+T\+E\+R\+M\+\_\+\+W\+I\+T\+H\+\_\+\+P\+A\+R\+E\+N\+T}}\item[{\em 
\hypertarget{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a968d01a60d0c8ec23eaed210a9723192}{}E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+T\+E\+R\+M\+\_\+\+W\+I\+T\+H\+\_\+\+P\+A\+R\+E\+N\+T\label{group__Ecore__Exe__Group_gga6fb12d2a7c21ff1340c0f69447f91599a968d01a60d0c8ec23eaed210a9723192}
}]Makes child receive S\+I\+G\+T\+E\+R\+M when parent dies. \end{description}
\end{Desc}
\hypertarget{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[{\+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf \+\_\+\+Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority}}\label{group__Ecore__Exe__Group_ga938d59de6a9385e7d98c4b45f809d23f}


Defines the priority of the proccess. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+L\+E@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+L\+E}!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\+L\+E@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+I\+D\+L\+E}}\item[{\em 
\hypertarget{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\+L\+E\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa09f6aedb549a47677c3810995128304b}
}]Idle priority, for monitoring the system. \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\+A\+L@{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\+A\+L}!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\+A\+L@{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\+A\+L}}\item[{\em 
\hypertarget{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\+A\+L\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9402a8afb6fbccde2f4b8ea7c8330de6}
}]Below default priority. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+A\+L@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+A\+L}!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\+A\+L@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+N\+O\+R\+M\+A\+L}}\item[{\em 
\hypertarget{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\+A\+L\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa9683498607dc0bec65c4252b7e91708e}
}]Default priority. \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\+A\+L@{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\+A\+L}!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\+A\+L@{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\+A\+L}}\item[{\em 
\hypertarget{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\+A\+L\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0be06f30e0e5ff0a616ec31859dc83b5}
}]Above default priority. \index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+G\+H@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+G\+H}!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\+G\+H@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+W\+I\+N32\+\_\+\+P\+R\+I\+O\+R\+I\+T\+Y\+\_\+\+H\+I\+G\+H}}\item[{\em 
\hypertarget{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\+G\+H\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa430693ca4ff578d64c39aa72edc1a7a6}
}]High priority, use with care as other threads in the system will not get processor time. \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\+M\+E@{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\+M\+E}!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\+M\+E@{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\+M\+E}}\item[{\em 
\hypertarget{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\+M\+E\label{group__Ecore__Exe__Group_gga938d59de6a9385e7d98c4b45f809d23fa0b4330d21ae5dc02b8de2e92133e604b}
}]Realtime priority, should be almost never used as it can interrupt system threads that manage mouse input, keyboard input, and background disk flushing. \end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{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[{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{pri}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga0814e120655d40962dbf78c919d48ea9}


Sets the priority at which to launch processes. 

This sets the priority of processes run by \hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run()} and \hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}. \begin{DoxyItemize}
\item On Windows, the child process is created by default with the \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\+A\+L} priority, unless the calling process is in \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\+L\+E} or \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\+A\+L} priority. In that case, the child process inherits this priority. \item On other platforms, if set to \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\+I\+T} child processes inherits the priority of their parent. This is the default.\end{DoxyItemize}

\begin{DoxyParams}{Parameters}
{\em pri} & value a Ecore\+\_\+\+Exe\+\_\+\+Win32\+\_\+\+Priority value on Windows, -\/20 to 19 or \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\+I\+T} on other O\+S. \\
\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\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+exe\+\_\+run\+\_\+priority\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gae8e54149852c0e65ab209e1f864437f4}


Gets the priority at which to launch processes. 

This gets ths priority of launched processes. See \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 \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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+run}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ecore\+\_\+\+Exe}$\ast$ ecore\+\_\+exe\+\_\+run (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{exe\+\_\+cmd, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}


Spawns a child process. 

This is now just a thin wrapper around \hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()} \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 \hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()} with the appropriated flags.
\end{DoxyNote}

\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}


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\+A\+L.



Referenced by eeze\+\_\+disk\+\_\+eject(), eeze\+\_\+disk\+\_\+mount(), and eeze\+\_\+disk\+\_\+unmount().

\hypertarget{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[{ecore\+\_\+exe\+\_\+pipe\+\_\+run}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ecore\+\_\+\+Exe}$\ast$ ecore\+\_\+exe\+\_\+pipe\+\_\+run (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{exe\+\_\+cmd, }
\item[{Ecore\+\_\+\+Exe\+\_\+\+Flags}]{flags, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}


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 \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 \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\+T\+A or E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+O\+R 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\+L\+S if line buffered). E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A events will only happen if the process is run with E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+R\+E\+A\+D 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\+T\+E 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
\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}.\end{Desc}


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

\hypertarget{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[{ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+callback\+\_\+pre\+\_\+free\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe, }
\item[{{\bf Ecore\+\_\+\+Exe\+\_\+\+Cb}}]{func}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga9759c16828017a493069d924edc588a9}


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 E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+send}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+Bool} ecore\+\_\+exe\+\_\+send (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe, }
\item[{const void $\ast$}]{data, }
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gac5a7d73f64baf6b752154836ff4123b9}


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\+U\+E} if successful, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on failure. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}.\end{Desc}


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

\hypertarget{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[{ecore\+\_\+exe\+\_\+close\+\_\+stdin}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+close\+\_\+stdin (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga86dbd7abd0982a3067a29d6a2e752530}


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 E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+auto\+\_\+limits\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe, }
\item[{int}]{start\+\_\+bytes, }
\item[{int}]{end\+\_\+bytes, }
\item[{int}]{start\+\_\+lines, }
\item[{int}]{end\+\_\+lines}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gafe2266fa29b2c4e59a52e03cc63d5318}


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 E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data}$\ast$ ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe, }
\item[{Ecore\+\_\+\+Exe\+\_\+\+Flags}]{flags}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gad50f57fe32eb478915ec84585c5ee65d}


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\+A\+D or E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+P\+I\+P\+E\+\_\+\+E\+R\+R\+O\+R? \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The event data. 
\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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+event\+\_\+data\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe\+\_\+\+Event\+\_\+\+Data} $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga5fd894d8e941928d0fa18de7ac922fae}


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.

\hypertarget{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[{ecore\+\_\+exe\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ ecore\+\_\+exe\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gab0948b947e85cf65c7a4e048705dcab8}


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 \hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run} was called. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}.\end{Desc}


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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+pid\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}pid\+\_\+t ecore\+\_\+exe\+\_\+pid\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga31fa4d88303d0dc45b3dfdb55fb53883}


Retrieves the process I\+D of the given spawned process. 


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


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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+tag\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+tag\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe, }
\item[{const char $\ast$}]{tag}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga6b00cbbfb0686c51638f615055f35ddd}


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 E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+tag\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ ecore\+\_\+exe\+\_\+tag\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga546181ce36424f7bc8494ca6a5d003c3}


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 \hyperlink{group__Ecore__Exe__Group_ga6b00cbbfb0686c51638f615055f35ddd}{ecore\+\_\+exe\+\_\+tag\+\_\+set()} to change it. It might be {\ttfamily N\+U\+L\+L}. 
\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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+cmd\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ ecore\+\_\+exe\+\_\+cmd\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gac271d6626b589b109652ad1436aa8abc}


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\+L\+L} 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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+data\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ ecore\+\_\+exe\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga042dd98c0d59db095966f44560b617c8}


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 \hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run()} or \hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()} 
\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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+data\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ ecore\+\_\+exe\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe, }
\item[{void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga17c50db4f2818b9e99368493a6b37ffc}


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 \hyperlink{group__Ecore__Exe__Group_ga5d56e17987c8e000119353093a34f0bc}{ecore\+\_\+exe\+\_\+run()}, \hyperlink{group__Ecore__Exe__Group_gacd208a964c62424424d4c4c92a651db1}{ecore\+\_\+exe\+\_\+pipe\+\_\+run()}, or \hyperlink{group__Ecore__Exe__Group_ga17c50db4f2818b9e99368493a6b37ffc}{ecore\+\_\+exe\+\_\+data\+\_\+set()} 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+1 
\end{DoxySince}


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\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+flags\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}Ecore\+\_\+\+Exe\+\_\+\+Flags ecore\+\_\+exe\+\_\+flags\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga9dd9d9fbc56e7f11d0426e836b67f5f3}


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 E\+I\+N\+A\+\_\+\+M\+A\+I\+N\+\_\+\+L\+O\+O\+P\+\_\+\+C\+H\+E\+C\+K\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+A\+L.

\hypertarget{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[{ecore\+\_\+exe\+\_\+pause}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+pause (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga06d82c76a7c0d504651de45416b9be22}


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


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


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

\hypertarget{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[{ecore\+\_\+exe\+\_\+continue}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+continue (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga9ec2599ea787d30df5a9c0fdba57f2e7}


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


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


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

\hypertarget{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[{ecore\+\_\+exe\+\_\+interrupt}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+interrupt (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga4a340e85e138d0bcbba8167e7461cc0d}


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


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\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\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+quit}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+quit (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gab24e92caaccfd7363d16408e7ccc626e}


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


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\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\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+terminate}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+terminate (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga0c9a539eed895a001256bdee44fe0c73}


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


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\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\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+kill}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+kill (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga33305587a363c6f43bff032f94df6e16}


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


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\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\+R\+N.



Referenced by eeze\+\_\+disk\+\_\+cancel(), and eeze\+\_\+disk\+\_\+free().

\hypertarget{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[{ecore\+\_\+exe\+\_\+signal}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+signal (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe, }
\item[{int}]{num}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_gabf986356eee28b04d156b24cbdf277a0}


Sends a {\ttfamily S\+I\+G\+U\+S\+R} 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 1 or 2, or the signal will be ignored. \\
\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\+R\+N.

\hypertarget{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[{ecore\+\_\+exe\+\_\+hup}]{\setlength{\rightskip}{0pt plus 5cm}void ecore\+\_\+exe\+\_\+hup (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Exe} $\ast$}]{exe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Exe__Group_ga44d11d21a5a761dd20d729c4394958ae}


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


\begin{DoxyParams}{Parameters}
{\em exe} & Process handle to the given process. \\
\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\+R\+N.



\subsection{Variable Documentation}
\hypertarget{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\+E\+L@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+E\+L}}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+E\+L@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+E\+L}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection[{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+E\+L}]{\setlength{\rightskip}{0pt plus 5cm}int E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+E\+L}\label{group__Ecore__Exe__Group_gad156c5e5f46e3d3ca45cb1c4e118eae1}


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

\hypertarget{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\+T\+A@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A}}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection[{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A}]{\setlength{\rightskip}{0pt plus 5cm}int E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A}\label{group__Ecore__Exe__Group_ga3a5071bbc714abfbcede55c39c6ecf8a}


Data from a child process. 

\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_exe_example_8c-example}{ecore\+\_\+exe\+\_\+example.\+c}.\end{Desc}
\hypertarget{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\+O\+R@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+O\+R}}
\index{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+O\+R@{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+O\+R}!Process Spawning Functions@{Process Spawning Functions}}
\subsubsection[{E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+O\+R}]{\setlength{\rightskip}{0pt plus 5cm}int E\+C\+O\+R\+E\+\_\+\+E\+X\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+E\+R\+R\+O\+R}\label{group__Ecore__Exe__Group_gab102bc8eb4e2b3c7418da7d910c90a9c}


Errors from a child process. 

