Menu

#33 'strace -ff -o filename' doesn't give a pid of first process

build errors
closed-fixed
nobody
None
5
2018-03-17
2006-07-25
No

Doing an 'strace -ff -o food ls' gives an output file
'food' instead of 'food.pid_of_ls'. My guess is that
strace has to fork() and then execve(), so it should be
trivial to derive the pid of the child.

Discussion

  • Eugene Syromyatnikov

    Fixed in 10de62bb052b541af3d0566f05f3f870cce0e028.

     
  • Eugene Syromyatnikov

    • status: open --> closed-fixed
    • Group: --> build errors