|
static JError | Create (const JString &str, const bool detach) |
|
static JError | Create (const JPtrArray< JString > &argList, const bool detach) |
|
static JError | Create (const JUtf8Byte *argv[], const JSize size, const bool detach) |
|
static JError | Create (const JString &workingDirectory, const JString &str, const bool detach) |
|
static JError | Create (const JString &workingDirectory, const JPtrArray< JString > &argList, const bool detach) |
|
static JError | Create (const JString &workingDirectory, const JUtf8Byte *argv[], const JSize size, const bool detach) |
|
static JError | Create (JSimpleProcess **process, const JString &str, const bool deleteWhenFinished=false) |
|
static JError | Create (JSimpleProcess **process, const JString &workingDirectory, const JString &str, const bool deleteWhenFinished=false) |
|
static JError | Create (JSimpleProcess **process, const JPtrArray< JString > &argList, const bool deleteWhenFinished=false) |
|
static JError | Create (JSimpleProcess **process, const JString &workingDirectory, const JPtrArray< JString > &argList, const bool deleteWhenFinished=false) |
|
static JError | Create (JSimpleProcess **process, const JUtf8Byte *argv[], const JSize size, const bool deleteWhenFinished=false) |
|
static JError | Create (JSimpleProcess **process, const JString &workingDirectory, const JUtf8Byte *argv[], const JSize size, const bool deleteWhenFinished=false) |
|
static JError | Create (JProcess **process, const JString &str, const JExecuteAction toAction=kJIgnoreConnection, int *toFD=nullptr, const JExecuteAction fromAction=kJIgnoreConnection, int *fromFD=nullptr, const JExecuteAction errAction=kJIgnoreConnection, int *errFD=nullptr) |
|
static JError | Create (JProcess **process, const JPtrArray< JString > &argList, const JExecuteAction toAction=kJIgnoreConnection, int *toFD=nullptr, const JExecuteAction fromAction=kJIgnoreConnection, int *fromFD=nullptr, const JExecuteAction errAction=kJIgnoreConnection, int *errFD=nullptr) |
|
static JError | Create (JProcess **process, const JUtf8Byte *argv[], const JSize size, const JExecuteAction toAction=kJIgnoreConnection, int *toFD=nullptr, const JExecuteAction fromAction=kJIgnoreConnection, int *fromFD=nullptr, const JExecuteAction errAction=kJIgnoreConnection, int *errFD=nullptr) |
|
static JError | Create (JProcess **process, const JString &workingDirectory, const JString &str, const JExecuteAction toAction=kJIgnoreConnection, int *toFD=nullptr, const JExecuteAction fromAction=kJIgnoreConnection, int *fromFD=nullptr, const JExecuteAction errAction=kJIgnoreConnection, int *errFD=nullptr) |
|
static JError | Create (JProcess **process, const JString &workingDirectory, const JPtrArray< JString > &argList, const JExecuteAction toAction=kJIgnoreConnection, int *toFD=nullptr, const JExecuteAction fromAction=kJIgnoreConnection, int *fromFD=nullptr, const JExecuteAction errAction=kJIgnoreConnection, int *errFD=nullptr) |
|
static JError | Create (JProcess **process, const JString &workingDirectory, const JUtf8Byte *argv[], const JSize size, const JExecuteAction toAction=kJIgnoreConnection, int *toFD=nullptr, const JExecuteAction fromAction=kJIgnoreConnection, int *fromFD=nullptr, const JExecuteAction errAction=kJIgnoreConnection, int *errFD=nullptr) |
|
static void | CheckForFinishedChild (const bool block) |
|
Interface for the JSimpleProcess class
Class to run a program and report to the user if an error occurs.
We use a JMessageProtocol to accumulate the text from the process
so the pipe doesn't fill up.
If the process runs for more than 5 seconds, we ignore errors because
the user will surely have forgotten about it by then. If errors are
that important, it ought to have been run in an xterm!