I am actually trying to close some processes using kill command. All the processes are getting killed graciously but when I invoke kill command on Microsoft Outlook like
kill PID
it's getting killed(expected) and also it opens up the Microsoft Error Reporting. How to kill a process like an outlook as if I went to File->Quit Outlook?
kill -9 PID
. This means the kernel will kill the process without prejudice. I'm not sure but I suspect the error reporting won't get a chance to get control.