Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Executable process. More...
#include <FXProcess.h>
Public Member Functions | |
FXProcess () | |
Create and initialize. | |
FXProcessID | id () const |
Return handle of this process object. | |
FXbool | start (const FXchar *exec, const FXchar *const *args, const FXchar *const *env=nullptr) |
Start subprocess. | |
void | setInputStream (FXIODevice *is) |
Change input stream; handle must be Inheritable. | |
FXIODevice * | getInputStream () const |
Return input stream. | |
void | setOutputStream (FXIODevice *os) |
Change output stream; handle must be Inheritable. | |
FXIODevice * | getOutputStream () const |
Return output stream. | |
void | setErrorStream (FXIODevice *es) |
Change error stream; handle must be Inheritable. | |
FXIODevice * | getErrorStream () const |
Return error stream. | |
FXbool | suspend () |
Suspend process. | |
FXbool | resume () |
Resume process. | |
FXbool | kill () |
Kill process. | |
FXbool | wait () |
Wait for child process. | |
FXbool | wait (FXint &code) |
Wait for child process, returning exit code. | |
~FXProcess () | |
Delete. | |
Static Public Member Functions | |
static FXint | current () |
Get process id of calling process. | |
static FXInputHandle | handle () |
Get current process handle. | |
static void | exit (FXint code=0) |
Exit calling process. | |
Executable process.
Copyright © 1997-2022 Jeroen van der Zijp |