|
|
@ -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,
|
|
|
|