Comment 13 for bug 542091

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for working on this and help making Ubuntu better!

So, here are some feedback:
- do we have other apport hooks packages killing a process to rerun it into debug mode? That sounds a little bit touchy.
- if we do, I guess it will be good to check the return code of subprocess and abort if we can't kill it before going further.
- I guess "report["CheeseDebug.log"] = apport.hookutils.command_output(['env', 'GST_DEBUG=*cheese*:3', 'cheese', '-v'])" should be executed only in case of "response == 0", no?