I'm not sure if this can be done at all, but if it can, what's the simplest way to do it?
I basically want my program to wait until it notices that a process that I want tracked has started up. Then I want to get the arguments that were passed to it.
I have a guarantee that the process will always start with some arguments passed to it.
Is there any way to do it?