/**
@class wxProcess
- @wxheader{process.h}
The objects of this class are used in conjunction with the ::wxExecute() function.
When a wxProcess object is passed to ::wxExecute(), its OnTerminate() virtual method
/**
Destroys the wxProcess object.
*/
- ~wxProcess();
+ virtual ~wxProcess();
/**
Closes the output stream (the one connected to the stdin of the child
@see Exists(), wxKill(), @ref page_samples_exec "Exec sample"
*/
- static wxKillError Kill(int pid, wxSignal signal = wxSIGNONE,
+ static wxKillError Kill(int pid, wxSignal sig = wxSIGTERM,
int flags = wxKILL_NOCHILDREN);
/**
@param status
The exit code of the process.
*/
- void OnTerminate(int pid, int status);
+ virtual void OnTerminate(int pid, int status);
/**
This static method replaces the standard @c popen() function: it launches
/**
@class wxProcessEvent
- @wxheader{process.h}
A process event is sent when a process is terminated.
/**
Returns the process id.
*/
- int GetPid() const;
+ int GetPid();
};