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.

Answers


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.


Need Your Help

force order of messages with HornetQ

java jms hornetq

I've setup a jms server with HornetQ as a JMS provider (Queue).

$scope inside a callback of a resource get call will not work

javascript node.js angularjs express

i am having a problem accessing the $scope. as it seems it is not working for me.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.