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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -