Attempt to fix #125

This commit is contained in:
Teo Mrnjavac 2014-10-28 12:01:06 +01:00
parent 6a9c9cbaae
commit a97297a3fe

View File

@ -78,7 +78,7 @@ chrootCall( const QString& command,
const QString& stdInput, const QString& stdInput,
int timeoutSec ) int timeoutSec )
{ {
return chrootCall( QStringList() = { command }, return chrootCall( { command },
workingPath, workingPath,
stdInput, stdInput,
timeoutSec ); timeoutSec );
@ -170,7 +170,7 @@ chrootOutput( const QString& command,
const QString& stdInput, const QString& stdInput,
int timeoutSec ) int timeoutSec )
{ {
return chrootOutput( QStringList() = { command }, return chrootOutput( { command },
output, output,
workingPath, workingPath,
stdInput, stdInput,