Make sure chrootCall with args list actually passes the args as list.

This commit is contained in:
Teo Mrnjavac 2014-07-30 12:43:15 +02:00
parent 122a6036d5
commit e7e57689d8
3 changed files with 21 additions and 4 deletions

View file

@ -44,6 +44,10 @@ DLLEXPORT int mount( const QString& devicePath,
* -3 = bad arguments
* -4 = QProcess timeout
*/
DLLEXPORT int chrootCall( const QStringList& args,
const QString& stdInput = QString(),
int timeoutSec = 0 );
DLLEXPORT int chrootCall( const QString& command,
const QString& stdInput = QString(),
int timeoutSec = 0 );