I have a bulky compiled program that does simple things. Basically executes two CLI comands.
One command is a jackd command and the other is a pulseaudio command.
Lets say you have a linux GUI program X which when executed silently starts two other CLI executable programs Y & Z with arguments.
How do I figure out what these commands and arguments are.
More trivial example.
Lests say X is a gui program that when compiled and exectuted does the following two commands unseen by the user.
- emacs ~/testfile
Obviously the user wont see these commands being executed even if X was run from a terminal, but will just be presented with emacs and firefox popping up.
How do I find out what the commands 1&2 are when X executes ?
I tried using strace but that failed. The commands 1&2 are known to be command line executable strings.
I guess auditctl is also an option, but how do I use it in this case.