cannot use class QProcess in qt on windows 7 -


i used qprocess execute exe file in qt on windows xp. works normally, while not on windows 7. think it's because of uac issue on windows 7(or windows vista). can me solve problem please? in advance. , here's code:

qprocess p(0); p.start("cmd", qstringlist()<<"/c"<<"copy .\\tmp\\gameskoreclient.exe .\\gameskoreclient.exe"); 

you start process correctly, receive results, have wait until process finished. add line after started process:

p.waitforfinished(); 

and close precess afterwards:

p.close() 

Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -