Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am running my donnet framework based application using mono in Linux Ubuntu. My application uses linphone's mediastream command to open the RTP socket and hook the audio device. I am using the following mediastream command to call from my application:

mediastream (arguments......)

Every thing is working fine but when i am trying to kill the mediastream using the killall command, it goes defunct. I am giving the following command from my application:

killall mediastream

What I am doing wrong? How can I handle those defunct processes?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Linphone's mediastream require CTRL+C (SIGINT) to close properly and killall default signal is SIGTERM. So you can try SIGINT signal in killall command as follows:

killall -SIGINT mediastream

or

killall -2 mediastream
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.