13

If I run strace on a program and that program spawns a subprocess (e.g. perl's system() call), will strace report the system calls for the child process as well?

Ross Rogers
  • 4,807

1 Answers1

17

Yes, but you need to add the -f flag to trace the child processes.

codeforester
  • 164
  • 1
  • 1
  • 8
baumgart
  • 1,454