(SOLVED) How to run another application as a background process?
-
Hi guys,
I am trying to run an .exe file from my application but I want this exe to be running as a background process. I searched high and low and could not find a satisfactory answer.
Any help is appreciated.
Thanks,
KelvinEDIT:
The solution that I implemented:
QProcess processServer;
QStringList arguments;arguments << "some argument";// build some.exe such that "some argument" will hide some.exe in the background.
processServer->start("some.exe",arguments); -
Hi,
Use the QProcess class, but then the OS is responsible for the background option. You need to search on that. Or if you control the exe file itself, give some arguments to the exe and make it hidden for itself. -
Hi thanks for the reply. I asked for the arguments from the developers of the exe and that solved my problem. Thanks alot.
-
Hi skkyeo.
can you share your answer on this thread..so in future other members can get the solution quickly.PS : Don't forget to update your thread title as (SOLVED) :)