0

I'm looking for a way to record child processes and their arguments spawned by a script or other command. A good example would be recording the build commands spawned by "make" and any children they, in turn, spawn.

In my specific case working with a build script from an embedded systems manufacturer. It's a Python script that calls cmake, ninja, and heaven knows what else. I'd really like to know what's being called so I can maybe pare down the noise.

This seems like an obvious utility for someone to have written decades ago but I'll be darned if I can find it.

Much thanks for any advice.

0 Answers0