How to determine which app is trying to invoke Google Chrome

google-chrome

For some reason, Google Chrome was randomly starting up on my system. I uninstalled it, and now I occasionally get the "Choose Application" dialog, which asks "Where is Google Chrome.app?"

How can I determine which application on my machine is trying to invoke Google Chrome?

(Note that I have "Google Chrome Canary" installed, and it is set as my default web browser).

Best Answer

man iosnoop

man execsnoop

man opensnoop 

Also possible to get a hint of what's going on running

launchctl bslist -j

as root, which will show you launchd jobs, -j tells you which job started it,

and

launchctl bstree

Which shows the jobs running, and under which domain they are running under.