Start the process before calling waitForStarted()
This commit is contained in:
parent
70a13fc588
commit
6376e1daef
@ -75,6 +75,7 @@ int chrootCall( const QStringList& args,
|
||||
process.setProgram( program );
|
||||
process.setArguments( arguments );
|
||||
|
||||
process.start();
|
||||
if ( !process.waitForStarted() )
|
||||
return -2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user