2003-06-10 23:46:31 +04:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: KWSys - Kitware System Library
|
|
|
|
Module: $RCSfile$
|
|
|
|
|
2003-12-16 00:30:46 +03:00
|
|
|
Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-12-05 19:37:28 +03:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
2003-06-10 23:46:31 +04:00
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
|
|
|
#ifndef @KWSYS_NAMESPACE@_Process_h
|
|
|
|
#define @KWSYS_NAMESPACE@_Process_h
|
|
|
|
|
2003-06-30 18:30:38 +04:00
|
|
|
#include <@KWSYS_NAMESPACE@/Configure.h>
|
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/* Redefine all public interface symbol names to be in the proper
|
|
|
|
namespace. These macros are used internally to kwsys only, and are
|
|
|
|
not visible to user code. Use kwsysHeaderDump.pl to reproduce
|
|
|
|
these macros after making changes to the interface. */
|
2004-05-10 21:10:57 +04:00
|
|
|
#define kwsys_ns(x) @KWSYS_NAMESPACE@##x
|
2003-07-01 19:40:34 +04:00
|
|
|
#define kwsysEXPORT @KWSYS_NAMESPACE@_EXPORT
|
2004-05-10 21:10:57 +04:00
|
|
|
#define kwsysProcess kwsys_ns(Process)
|
|
|
|
#define kwsysProcess_s kwsys_ns(Process_s)
|
|
|
|
#define kwsysProcess_New kwsys_ns(Process_New)
|
|
|
|
#define kwsysProcess_Delete kwsys_ns(Process_Delete)
|
|
|
|
#define kwsysProcess_SetCommand kwsys_ns(Process_SetCommand)
|
|
|
|
#define kwsysProcess_AddCommand kwsys_ns(Process_AddCommand)
|
|
|
|
#define kwsysProcess_SetTimeout kwsys_ns(Process_SetTimeout)
|
|
|
|
#define kwsysProcess_SetWorkingDirectory kwsys_ns(Process_SetWorkingDirectory)
|
|
|
|
#define kwsysProcess_SetPipeFile kwsys_ns(Process_SetPipeFile)
|
|
|
|
#define kwsysProcess_SetPipeShared kwsys_ns(Process_SetPipeShared)
|
|
|
|
#define kwsysProcess_Option_HideWindow kwsys_ns(Process_Option_HideWindow)
|
|
|
|
#define kwsysProcess_GetOption kwsys_ns(Process_GetOption)
|
|
|
|
#define kwsysProcess_SetOption kwsys_ns(Process_SetOption)
|
|
|
|
#define kwsysProcess_Option_e kwsys_ns(Process_Option_e)
|
|
|
|
#define kwsysProcess_State_Starting kwsys_ns(Process_State_Starting)
|
|
|
|
#define kwsysProcess_State_Error kwsys_ns(Process_State_Error)
|
|
|
|
#define kwsysProcess_State_Exception kwsys_ns(Process_State_Exception)
|
|
|
|
#define kwsysProcess_State_Executing kwsys_ns(Process_State_Executing)
|
|
|
|
#define kwsysProcess_State_Exited kwsys_ns(Process_State_Exited)
|
|
|
|
#define kwsysProcess_State_Expired kwsys_ns(Process_State_Expired)
|
|
|
|
#define kwsysProcess_State_Killed kwsys_ns(Process_State_Killed)
|
|
|
|
#define kwsysProcess_GetState kwsys_ns(Process_GetState)
|
|
|
|
#define kwsysProcess_State_e kwsys_ns(Process_State_e)
|
|
|
|
#define kwsysProcess_Exception_None kwsys_ns(Process_Exception_None)
|
|
|
|
#define kwsysProcess_Exception_Fault kwsys_ns(Process_Exception_Fault)
|
|
|
|
#define kwsysProcess_Exception_Illegal kwsys_ns(Process_Exception_Illegal)
|
|
|
|
#define kwsysProcess_Exception_Interrupt kwsys_ns(Process_Exception_Interrupt)
|
|
|
|
#define kwsysProcess_Exception_Numerical kwsys_ns(Process_Exception_Numerical)
|
|
|
|
#define kwsysProcess_Exception_Other kwsys_ns(Process_Exception_Other)
|
|
|
|
#define kwsysProcess_GetExitException kwsys_ns(Process_GetExitException)
|
|
|
|
#define kwsysProcess_Exception_e kwsys_ns(Process_Exception_e)
|
|
|
|
#define kwsysProcess_GetExitCode kwsys_ns(Process_GetExitCode)
|
|
|
|
#define kwsysProcess_GetExitValue kwsys_ns(Process_GetExitValue)
|
|
|
|
#define kwsysProcess_GetErrorString kwsys_ns(Process_GetErrorString)
|
|
|
|
#define kwsysProcess_GetExceptionString kwsys_ns(Process_GetExceptionString)
|
|
|
|
#define kwsysProcess_Execute kwsys_ns(Process_Execute)
|
|
|
|
#define kwsysProcess_WaitForData kwsys_ns(Process_WaitForData)
|
|
|
|
#define kwsysProcess_Pipes_e kwsys_ns(Process_Pipes_e)
|
|
|
|
#define kwsysProcess_Pipe_None kwsys_ns(Process_Pipe_None)
|
|
|
|
#define kwsysProcess_Pipe_STDIN kwsys_ns(Process_Pipe_STDIN)
|
|
|
|
#define kwsysProcess_Pipe_STDOUT kwsys_ns(Process_Pipe_STDOUT)
|
|
|
|
#define kwsysProcess_Pipe_STDERR kwsys_ns(Process_Pipe_STDERR)
|
|
|
|
#define kwsysProcess_Pipe_Timeout kwsys_ns(Process_Pipe_Timeout)
|
|
|
|
#define kwsysProcess_WaitForExit kwsys_ns(Process_WaitForExit)
|
|
|
|
#define kwsysProcess_Kill kwsys_ns(Process_Kill)
|
2003-06-10 23:46:31 +04:00
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* Process control data structure.
|
|
|
|
*/
|
2003-06-10 23:46:31 +04:00
|
|
|
typedef struct kwsysProcess_s kwsysProcess;
|
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* Create a new Process instance.
|
|
|
|
*/
|
2004-01-22 22:44:44 +03:00
|
|
|
kwsysEXPORT kwsysProcess* kwsysProcess_New(void);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* Delete an existing Process instance. If the instance is currently
|
|
|
|
* executing a process, this blocks until the process terminates.
|
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT void kwsysProcess_Delete(kwsysProcess* cp);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* Set the command line to be executed. Argument is an array of
|
|
|
|
* pointers to the command and each argument. Ths array must end with
|
2003-12-03 17:20:05 +03:00
|
|
|
* a NULL pointer. Any previous command lines are removed. Returns
|
|
|
|
* 1 for success and 0 otherwise.
|
2003-06-19 01:06:21 +04:00
|
|
|
*/
|
2003-12-03 17:20:05 +03:00
|
|
|
kwsysEXPORT int kwsysProcess_SetCommand(kwsysProcess* cp,
|
|
|
|
char const* const* command);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add a command line to be executed. Argument is an array of
|
|
|
|
* pointers to the command and each argument. Ths array must end with
|
|
|
|
* a NULL pointer. If this is not the first command added, its
|
|
|
|
* standard input will be connected to the standard output of the
|
|
|
|
* previous command. Returns 1 for success and 0 otherwise.
|
|
|
|
*/
|
|
|
|
kwsysEXPORT int kwsysProcess_AddCommand(kwsysProcess* cp,
|
|
|
|
char const* const* command);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
2004-05-06 22:30:00 +04:00
|
|
|
* Set the timeout in seconds for the child process. The timeout
|
|
|
|
* period begins when the child is executed. If the child has not
|
|
|
|
* terminated when the timeout expires, it will be killed. A
|
|
|
|
* non-positive (<= 0) value will disable the timeout.
|
2003-06-19 01:06:21 +04:00
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT void kwsysProcess_SetTimeout(kwsysProcess* cp, double timeout);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-07-07 16:36:40 +04:00
|
|
|
/**
|
2003-07-07 17:12:34 +04:00
|
|
|
* Set the working directory for the child process. The working
|
|
|
|
* directory can be absolute or relative to the current directory.
|
2003-12-13 22:13:54 +03:00
|
|
|
* Returns 1 for success and 0 for failure.
|
2003-07-07 16:36:40 +04:00
|
|
|
*/
|
2003-12-13 22:13:54 +03:00
|
|
|
kwsysEXPORT int kwsysProcess_SetWorkingDirectory(kwsysProcess* cp,
|
|
|
|
const char* dir);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the name of a file to be attached to the given pipe. Returns 1
|
|
|
|
* for success and 0 for failure.
|
|
|
|
*/
|
|
|
|
kwsysEXPORT int kwsysProcess_SetPipeFile(kwsysProcess* cp, int pipe,
|
|
|
|
const char* file);
|
2003-07-07 16:36:40 +04:00
|
|
|
|
2003-12-17 01:20:01 +03:00
|
|
|
/**
|
|
|
|
* Set whether the given pipe in the child is shared with the parent
|
|
|
|
* process. The default is no for Pipe_STDOUT and Pipe_STDERR and yes
|
|
|
|
* for Pipe_STDIN.
|
|
|
|
*/
|
|
|
|
kwsysEXPORT void kwsysProcess_SetPipeShared(kwsysProcess* cp, int pipe,
|
|
|
|
int shared);
|
|
|
|
|
2003-08-05 22:27:47 +04:00
|
|
|
/**
|
|
|
|
* Get/Set a platform-specific option. Possible options are:
|
|
|
|
*
|
|
|
|
* kwsysProcess_Option_HideWindow = Whether to hide window on Windows.
|
|
|
|
* 0 = No (default)
|
|
|
|
* 1 = Yes
|
|
|
|
*/
|
|
|
|
kwsysEXPORT int kwsysProcess_GetOption(kwsysProcess* cp, int optionId);
|
|
|
|
kwsysEXPORT void kwsysProcess_SetOption(kwsysProcess* cp, int optionId,
|
|
|
|
int value);
|
|
|
|
enum kwsysProcess_Option_e
|
|
|
|
{
|
|
|
|
kwsysProcess_Option_HideWindow
|
|
|
|
};
|
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* Get the current state of the Process instance. Possible states are:
|
|
|
|
*
|
|
|
|
* kwsysProcess_State_Starting = Execute has not yet been called.
|
|
|
|
* kwsysProcess_State_Error = Error administrating the child process.
|
|
|
|
* kwsysProcess_State_Exception = Child process exited abnormally.
|
|
|
|
* kwsysProcess_State_Executing = Child process is currently running.
|
|
|
|
* kwsysProcess_State_Exited = Child process exited normally.
|
|
|
|
* kwsysProcess_State_Expired = Child process's timeout expired.
|
|
|
|
* kwsysProcess_State_Killed = Child process terminated by Kill method.
|
2003-06-10 23:46:31 +04:00
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT int kwsysProcess_GetState(kwsysProcess* cp);
|
2003-06-19 01:19:16 +04:00
|
|
|
enum kwsysProcess_State_e
|
2003-06-19 01:06:21 +04:00
|
|
|
{
|
|
|
|
kwsysProcess_State_Starting,
|
|
|
|
kwsysProcess_State_Error,
|
|
|
|
kwsysProcess_State_Exception,
|
|
|
|
kwsysProcess_State_Executing,
|
|
|
|
kwsysProcess_State_Exited,
|
|
|
|
kwsysProcess_State_Expired,
|
|
|
|
kwsysProcess_State_Killed
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* When GetState returns "Exception", this method returns a
|
|
|
|
* platform-independent description of the exceptional behavior that
|
|
|
|
* caused the child to terminate abnormally. Possible exceptions are:
|
|
|
|
*
|
|
|
|
* kwsysProcess_Exception_None = No exceptional behavior occurred.
|
|
|
|
* kwsysProcess_Exception_Fault = Child crashed with a memory fault.
|
|
|
|
* kwsysProcess_Exception_Illegal = Child crashed with an illegal instruction.
|
|
|
|
* kwsysProcess_Exception_Interrupt = Child was interrupted by user (Cntl-C/Break).
|
|
|
|
* kwsysProcess_Exception_Numerical = Child crashed with a numerical exception.
|
|
|
|
* kwsysProcess_Exception_Other = Child terminated for another reason.
|
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT int kwsysProcess_GetExitException(kwsysProcess* cp);
|
2003-06-19 01:19:16 +04:00
|
|
|
enum kwsysProcess_Exception_e
|
2003-06-19 01:06:21 +04:00
|
|
|
{
|
|
|
|
kwsysProcess_Exception_None,
|
|
|
|
kwsysProcess_Exception_Fault,
|
|
|
|
kwsysProcess_Exception_Illegal,
|
|
|
|
kwsysProcess_Exception_Interrupt,
|
|
|
|
kwsysProcess_Exception_Numerical,
|
|
|
|
kwsysProcess_Exception_Other
|
|
|
|
};
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* When GetState returns "Exited" or "Exception", this method returns
|
|
|
|
* the platform-specific raw exit code of the process. UNIX platforms
|
|
|
|
* should use WIFEXITED/WEXITSTATUS and WIFSIGNALED/WTERMSIG to access
|
|
|
|
* this value. Windows users should compare the value to the various
|
|
|
|
* EXCEPTION_* values.
|
|
|
|
*
|
|
|
|
* If GetState returns "Exited", use GetExitValue to get the
|
|
|
|
* platform-independent child return value.
|
2003-06-10 23:46:31 +04:00
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT int kwsysProcess_GetExitCode(kwsysProcess* cp);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* When GetState returns "Exited", this method returns the child's
|
|
|
|
* platform-independent exit code (such as the value returned by the
|
|
|
|
* child's main).
|
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT int kwsysProcess_GetExitValue(kwsysProcess* cp);
|
2003-06-19 01:06:21 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* When GetState returns "Error", this method returns a string
|
|
|
|
* describing the problem. Otherwise, it returns NULL.
|
2003-06-10 23:46:31 +04:00
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT const char* kwsysProcess_GetErrorString(kwsysProcess* cp);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-12-31 00:23:16 +03:00
|
|
|
/**
|
|
|
|
* When GetState returns "Exception", this method returns a string
|
|
|
|
* describing the problem. Otherwise, it returns NULL.
|
|
|
|
*/
|
|
|
|
kwsysEXPORT const char* kwsysProcess_GetExceptionString(kwsysProcess* cp);
|
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* Start executing the child process.
|
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT void kwsysProcess_Execute(kwsysProcess* cp);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
2003-12-05 19:53:17 +03:00
|
|
|
* Block until data are available on a pipe, a timeout expires, or the
|
|
|
|
* child process terminates. Arguments are as follows:
|
2003-06-19 01:06:21 +04:00
|
|
|
*
|
|
|
|
* data = If data are read, the pointer to which this points is
|
|
|
|
* set to point to the data.
|
|
|
|
* length = If data are read, the integer to which this points is
|
|
|
|
* set to the length of the data read.
|
|
|
|
* timeout = Specifies the maximum time this call may block. Upon
|
|
|
|
* return after reading data, the time elapsed is subtracted
|
|
|
|
* from the timeout value. If this timeout expires, the
|
|
|
|
* value is set to 0. A NULL pointer passed for this argument
|
|
|
|
* indicates no timeout for the call.
|
|
|
|
*
|
|
|
|
* Return value will be one of:
|
|
|
|
*
|
2003-12-07 22:09:58 +03:00
|
|
|
* Pipe_None = No more data will be available from the child process,
|
|
|
|
* ( == 0) or no process has been executed. WaitForExit should
|
2003-06-19 01:06:21 +04:00
|
|
|
* be called to wait for the process to terminate.
|
|
|
|
* Pipe_STDOUT = Data have been read from the child's stdout pipe.
|
|
|
|
* Pipe_STDERR = Data have been read from the child's stderr pipe.
|
|
|
|
* Pipe_Timeout = No data available within timeout specified for the
|
|
|
|
* call. Time elapsed has been subtracted from timeout
|
|
|
|
* argument.
|
|
|
|
*/
|
2003-12-05 19:53:17 +03:00
|
|
|
kwsysEXPORT int kwsysProcess_WaitForData(kwsysProcess* cp, char** data,
|
|
|
|
int* length, double* timeout);
|
2003-06-19 01:19:16 +04:00
|
|
|
enum kwsysProcess_Pipes_e
|
2003-06-19 01:06:21 +04:00
|
|
|
{
|
2003-12-07 22:09:58 +03:00
|
|
|
kwsysProcess_Pipe_None,
|
2003-12-13 22:13:54 +03:00
|
|
|
kwsysProcess_Pipe_STDIN,
|
2003-12-07 22:09:58 +03:00
|
|
|
kwsysProcess_Pipe_STDOUT,
|
|
|
|
kwsysProcess_Pipe_STDERR,
|
2003-06-19 01:06:21 +04:00
|
|
|
kwsysProcess_Pipe_Timeout=255
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Block until the child process terminates or the given timeout
|
|
|
|
* expires. If no process is running, returns immediatly. The
|
|
|
|
* argument is:
|
2003-06-10 23:46:31 +04:00
|
|
|
*
|
2003-06-19 01:06:21 +04:00
|
|
|
* timeout = Specifies the maximum time this call may block. Upon
|
|
|
|
* returning due to child termination, the elapsed time
|
|
|
|
* is subtracted from the given value. A NULL pointer
|
|
|
|
* passed for this argument indicates no timeout for the
|
|
|
|
* call.
|
2003-06-10 23:46:31 +04:00
|
|
|
*
|
2003-06-19 01:06:21 +04:00
|
|
|
* Return value will be one of:
|
2003-06-10 23:46:31 +04:00
|
|
|
*
|
2003-06-19 01:06:21 +04:00
|
|
|
* 0 = Child did not terminate within timeout specified for
|
|
|
|
* the call. Time elapsed has been subtracted from timeout
|
|
|
|
* argument.
|
|
|
|
* 1 = Child has terminated or was not running.
|
2003-06-10 23:46:31 +04:00
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT int kwsysProcess_WaitForExit(kwsysProcess* cp, double* timeout);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/**
|
|
|
|
* Forcefully terminate the child process that is currently running.
|
|
|
|
* The caller should call WaitForExit after this returns to wait for
|
|
|
|
* the child to terminate.
|
2003-06-10 23:46:31 +04:00
|
|
|
*/
|
2003-06-30 18:30:38 +04:00
|
|
|
kwsysEXPORT void kwsysProcess_Kill(kwsysProcess* cp);
|
2003-06-10 23:46:31 +04:00
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
2003-06-19 01:06:21 +04:00
|
|
|
/* If we are building a kwsysProcess .c file, let it use these macros.
|
|
|
|
Otherwise, undefine them to keep the namespace clean. */
|
2003-06-10 23:46:31 +04:00
|
|
|
#if !defined(KWSYS_IN_PROCESS_C)
|
2004-05-10 21:10:57 +04:00
|
|
|
# undef kwsys_ns
|
2003-06-30 18:30:38 +04:00
|
|
|
# undef kwsysEXPORT
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess
|
2003-06-19 01:06:21 +04:00
|
|
|
# undef kwsysProcess_s
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess_New
|
|
|
|
# undef kwsysProcess_Delete
|
|
|
|
# undef kwsysProcess_SetCommand
|
2003-12-03 17:20:05 +03:00
|
|
|
# undef kwsysProcess_AddCommand
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess_SetTimeout
|
2003-07-07 16:36:40 +04:00
|
|
|
# undef kwsysProcess_SetWorkingDirectory
|
2003-12-13 22:13:54 +03:00
|
|
|
# undef kwsysProcess_SetPipeFile
|
2003-12-17 01:20:01 +03:00
|
|
|
# undef kwsysProcess_SetPipeShared
|
2003-08-05 22:27:47 +04:00
|
|
|
# undef kwsysProcess_Option_HideWindow
|
|
|
|
# undef kwsysProcess_GetOption
|
|
|
|
# undef kwsysProcess_SetOption
|
|
|
|
# undef kwsysProcess_Option_e
|
2003-06-19 01:06:21 +04:00
|
|
|
# undef kwsysProcess_State_Starting
|
|
|
|
# undef kwsysProcess_State_Error
|
|
|
|
# undef kwsysProcess_State_Exception
|
|
|
|
# undef kwsysProcess_State_Executing
|
|
|
|
# undef kwsysProcess_State_Exited
|
|
|
|
# undef kwsysProcess_State_Expired
|
|
|
|
# undef kwsysProcess_State_Killed
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess_GetState
|
2003-06-19 01:06:21 +04:00
|
|
|
# undef kwsysProcess_State_e
|
|
|
|
# undef kwsysProcess_Exception_None
|
|
|
|
# undef kwsysProcess_Exception_Fault
|
|
|
|
# undef kwsysProcess_Exception_Illegal
|
|
|
|
# undef kwsysProcess_Exception_Interrupt
|
|
|
|
# undef kwsysProcess_Exception_Numerical
|
|
|
|
# undef kwsysProcess_Exception_Other
|
|
|
|
# undef kwsysProcess_GetExitException
|
|
|
|
# undef kwsysProcess_Exception_e
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess_GetExitCode
|
2003-06-19 01:06:21 +04:00
|
|
|
# undef kwsysProcess_GetExitValue
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess_GetErrorString
|
2003-12-31 00:23:16 +03:00
|
|
|
# undef kwsysProcess_GetExceptionString
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess_Execute
|
|
|
|
# undef kwsysProcess_WaitForData
|
2003-06-19 01:06:21 +04:00
|
|
|
# undef kwsysProcess_Pipes_e
|
2003-12-07 22:09:58 +03:00
|
|
|
# undef kwsysProcess_Pipe_None
|
2003-12-13 22:13:54 +03:00
|
|
|
# undef kwsysProcess_Pipe_STDIN
|
2003-06-19 01:06:21 +04:00
|
|
|
# undef kwsysProcess_Pipe_STDOUT
|
|
|
|
# undef kwsysProcess_Pipe_STDERR
|
|
|
|
# undef kwsysProcess_Pipe_Timeout
|
2003-06-10 23:46:31 +04:00
|
|
|
# undef kwsysProcess_WaitForExit
|
|
|
|
# undef kwsysProcess_Kill
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|