(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.