Starting external process in QT without command prompt in Windows -


i'm try start external process in qt qprocess.startdetached(). able start process, when see ugly windows command prompt pop up. there way prevent happening?

i use method , not have problem. there applications create command prompt when started. may not qt code that's @ fault. can validate setting code start different application , checking if still creates command prompt.

   qstring program = "client.exe";    qstringlist arguments;     clientprocess = new qprocess( );     // exit calling application on called application start    connect( clientprocess, signal( started() ), this, slot( exit() ) );    // receive errors    connect( clientprocess, signal( error( qprocess::processerror ) ), this, slot( error( qprocess::processerror ) ) );     clientprocess->startdetached( program, arguments ); 

Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -