c++ - Running multiple command-line apps from a Qt GUI app in Ubuntu and getting the console output -
i developing robotics application on ubuntu 12.04 (precise) , ros fuerte. have 10 different nodes (processes) need run , switch between different operation modes of robot, have kill , spawn these nodes dynamically. usual way is, of course, launching them terminal, want provide easy-to-use gui interface.
is there way can start terminal applications c++ code in ubuntu while getting output? want collect output running apps , display in single view. should possible spawn , kill these apps on go.
or perhaps there's ros-way of doing not aware of?
thanks!
the qprocess class you're looking for.
Comments
Post a Comment