nayab
nayab

Reputation: 2380

Starting/Stoping an application parlally from Unix application

I want to use Qprocess to start other applications from linux c++ application.

I want to start and stop another application from my application.

How to link Qprocess to my build. Which .so files are required.

Upvotes: 0

Views: 66

Answers (1)

Erik
Erik

Reputation: 2213

QProcess is not a native c++ class, it is part of the Qt framework http://qt-project.org/
If you are simply looking for a solution to start another application from yours, you could e.g. look into system (http://www.cplusplus.com/reference/cstdlib/system/) which you should able to use easily (after including cstdlib of course).

If you need to get back the console output of your application popen (http://linux.die.net/man/3/popen) might be a possibility.

Upvotes: 2

Related Questions