(SOLVED) How to run another application as a background process?
-
wrote on 3 Nov 2014, 07:38 last edited by
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); -
wrote on 3 Nov 2014, 07:41 last edited by
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. -
wrote on 4 Nov 2014, 01:50 last edited by
Hi thanks for the reply. I asked for the arguments from the developers of the exe and that solved my problem. Thanks alot.
-
wrote on 4 Nov 2014, 04:59 last edited by
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) :)
1/4