1#ifndef ZYPPNG_IO_PRIVATE_FORKSPAWNENGINE_H
2#define ZYPPNG_IO_PRIVATE_FORKSPAWNENGINE_H
14 bool isRunning (
bool wait =
false )
override;
15 bool waitForExit (
const std::optional<uint64_t> &timeout = {} )
override;
29 bool start(
const char *
const *argv,
int stdin_fd,
int stdout_fd,
int stderr_fd )
override;
41#if GLIB_CHECK_VERSION( 2, 58, 0)
43#define ZYPP_HAS_GLIBSPAWNENGINE 1
53 bool start(
const char *
const *argv,
int stdin_fd,
int stdout_fd,
int stderr_fd )
override;
56 static void glibSpawnCallback (
void *data );
60 #define ZYPP_HAS_GLIBSPAWNENGINE 0
~AbstractDirectSpawnEngine() override
bool isRunning(bool wait=false) override
bool waitForExit(const std::optional< uint64_t > &timeout={}) override
void mapExtraFds(int controlFd=-1)
bool _use_pty
Set to true, if a pair of ttys is used for communication instead of a pair of pipes.
bool start(const char *const *argv, int stdin_fd, int stdout_fd, int stderr_fd) override
void setUsePty(const bool set=true)