signon
8.58
|
Handles calls to system command line tools. More...
#include <crypto-handlers.h>
Public Member Functions | |
SystemCommandLineCallHandler () | |
Basic constructor. More... | |
~SystemCommandLineCallHandler () | |
Destructor. More... | |
bool | makeCall (const QString &appPath, const QStringList &args, bool readOutput=false) |
Executes the application at appPath in a separate child process. More... | |
QByteArray | output () const |
Handles calls to system command line tools.
Definition at line 44 of file crypto-handlers.h.
SystemCommandLineCallHandler::SystemCommandLineCallHandler | ( | ) |
Basic constructor.
Definition at line 58 of file crypto-handlers.cpp.
SystemCommandLineCallHandler::~SystemCommandLineCallHandler | ( | ) |
Destructor.
Definition at line 64 of file crypto-handlers.cpp.
bool SystemCommandLineCallHandler::makeCall | ( | const QString & | appPath, |
const QStringList & | args, | ||
bool | readOutput = false |
||
) |
Executes the application at appPath in a separate child process.
appPath | Path of the application to be executed. |
args | List of arguments for the executed application. |
readOutput | Flag whether to save or not the std::out output of the executed application. |
Definition at line 68 of file crypto-handlers.cpp.
References BLAME, SIGNON_EXTERNAL_PROCESS_READ_TIMEOUT, and TRACE.
Referenced by LosetupHandler::findAvailableDevice(), PartitionHandler::formatPartitionFile(), CryptsetupHandler::loadDmMod(), LosetupHandler::releaseDevice(), and LosetupHandler::setupDevice().
|
inline |
Definition at line 75 of file crypto-handlers.h.
Referenced by LosetupHandler::findAvailableDevice().