libzypp 17.35.11
|
#include <zypp-core/zyppng/io/private/forkspawnengine_p.h>
Private Attributes | |
bool | _use_pty = false |
Set to true, if a pair of ttys is used for communication instead of a pair of pipes. | |
Additional Inherited Members | |
![]() | |
using | Environment = std::map<std::string,std::string> |
For passing additional environment variables to set. | |
![]() | |
static std::unique_ptr< zyppng::AbstractSpawnEngine > | createDefaultEngine () |
![]() | |
void | mapExtraFds (int controlFd=-1) |
void | resetSignals () |
![]() | |
bool | _useDefaultLocale = false |
bool | _dieWithParent = false |
Should the process die with the parent process. | |
bool | _switchPgid = false |
pid_t | _pid = -1 |
int | _exitStatus = 0 |
std::string | _execError |
Remember execution errors like failed fork/exec. | |
std::string | _executedCommand |
Store the command we're executing. | |
std::vector< std::string > | _args |
The arguments we want to pass to the program. | |
Environment | _environment |
Environment variables to set in the new process. | |
zypp::Pathname | _chroot |
Path to chroot into. | |
zypp::Pathname | _workingDirectory |
Working directory. | |
std::vector< int > | _mapFds |
Additional file descriptors we want to map to the new process. | |
Definition at line 26 of file forkspawnengine_p.h.
|
overridevirtual |
Kickstart the process, if this returns true it is guaranteed that exec() was successful
Implements zyppng::AbstractSpawnEngine.
Definition at line 234 of file forkspawnengine.cc.
bool zyppng::ForkSpawnEngine::usePty | ( | ) | const |
Definition at line 459 of file forkspawnengine.cc.
Definition at line 464 of file forkspawnengine.cc.
Set to true, if a pair of ttys is used for communication instead of a pair of pipes.
Definition at line 38 of file forkspawnengine_p.h.