diff options
author | tezeb <tezeb+github@outoftheblue.pl> | 2017-01-10 00:16:05 +0100 |
---|---|---|
committer | tezeb <tezeb+github@outoftheblue.pl> | 2017-01-10 00:16:05 +0100 |
commit | c3f44c2cd1adb36013cc54638e1fd507d5121ad5 (patch) | |
tree | 391451bbefb8e2c2c0a3990b018212d49de983c5 /src/realpass.cpp | |
parent | 0ce664c977155f70ccd6916faae92e945acf4a6d (diff) |
fix interface for pass
Diffstat (limited to 'src/realpass.cpp')
-rw-r--r-- | src/realpass.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/realpass.cpp b/src/realpass.cpp index aeeb7b0c..cf946997 100644 --- a/src/realpass.cpp +++ b/src/realpass.cpp @@ -156,3 +156,13 @@ void RealPass::Copy(const QString src, const QString dest, const bool force) { args << passDest; executePass(PASS_COPY, args); } + +/** + * @brief RealPass::executePass easy wrapper for running pass + * @param args + */ +void RealPass::executePass(PROCESS id, const QStringList &args, QString input, + bool readStdout, bool readStderr) { + executeWrapper(id, QtPassSettings::getPassExecutable(), args, input, + readStdout, readStderr); +} |