Account
| Beamlib 3.3.4 This is the Beam C++ class library. |
Loading...
Searching...
No Matches
BProc.h
Go to the documentation of this file.
45 BError runForeground(BString cmd, BStringList argList = BStringList(), int* status = 0, int timeoutMs = -1);
Error return class. This class is used to return the error status from a function....
Definition BError.h:31
BError wait(int &status, int timeoutMs=-1)
Wait for the process to complete. The programs exist status is returned in status....
Definition BProc.cpp:69
BError runBackground(BString cmd, BStringList argList=BStringList())
Run the program in the background.
Definition BProc.cpp:52
BError runForeground(BString cmd, BStringList argList=BStringList(), int *status=0, int timeoutMs=-1)
Run the program in the foreground with optional status return value and timeout.
Definition BProc.cpp:48
int getFd(int cmdFd)
Return the stdin - 0, stdout - 1 or stderr -2 file descriptor pipes to send or receive data to/from t...
Definition BProc.cpp:60
BError kill(int sig=SIGTERM)
Kill the process by sending it a signal.
Definition BProc.cpp:108
BError usePipes(Bool fileIn, Bool fileOut, Bool fileErr)
Enable IO pipes for the processes standard file descriptors.
Definition BProc.cpp:36
Generated by
