Removing Defunct processes without restarting or removing parent process.
Hello, I'm currently having a problem with defunct processes. Basically I have written a standalone executable flash file that uses a process called fscommand("exec", "filename"); to launch other programs. This flash program should behave like a desktop, i.e. it is always working in the background and can launch applications and the user should not have to restart the computer if he/she doesn't want to.
I see that when flash opens other programs these other programs become defunct even if they're working and when you close them they are still defunct. The problem is that I cannot kill the flash process (need it to always run).
So the question is: In mythbuntu 8.10 is it possible to remove defunct processes in any other way except restarting the computer or killing the parent process??
I hear that this could be done by using preap in Solaris, is there anything similar in mythbuntu(Ubuntu)?