Start the process before calling waitForStarted()

This commit is contained in:
Aurélien Gâteau 2014-08-01 17:01:00 +02:00
parent 70a13fc588
commit 6376e1daef

View File

@ -75,6 +75,7 @@ int chrootCall( const QStringList& args,
process.setProgram( program );
process.setArguments( arguments );
process.start();
if ( !process.waitForStarted() )
return -2;