summaryrefslogtreecommitdiffstats
path: root/src/realpass.cpp
diff options
context:
space:
mode:
authortezeb <tezeb+github@outoftheblue.pl>2017-01-10 00:16:05 +0100
committertezeb <tezeb+github@outoftheblue.pl>2017-01-10 00:16:05 +0100
commitc3f44c2cd1adb36013cc54638e1fd507d5121ad5 (patch)
tree391451bbefb8e2c2c0a3990b018212d49de983c5 /src/realpass.cpp
parent0ce664c977155f70ccd6916faae92e945acf4a6d (diff)
fix interface for pass
Diffstat (limited to 'src/realpass.cpp')
-rw-r--r--src/realpass.cpp10
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);
+}