Thread
:
[Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
View Single Post
gionni88
2011-03-07 , 09:31
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#
104
QProcess.kill or terminate stops the process but leave it in memory if the app is not run as root and from conky you still see the outgoing process. To solve it I get the PID from the started process and run QProcess::execute("sudo kill PID") when you stop the process or close the app. For the improperly exited app situation, you may try a sudo killall for gst-launch at mainwindow constructor to clean from previous process, if any.
Quote & Reply
|
The Following User Says Thank You to gionni88 For This Useful Post:
tetris11_
gionni88
View Public Profile
Send a private message to gionni88
Find all posts by gionni88