Hacker News new | ask | show | jobs
by digitalsushi 3489 days ago
let z=$(readlink /proc/self)+1 && strace -p $z

probably a race. i'm not a real programmer.

1 comments

  sh -c 'exec strace -p $$'
This is race-free and POSIX-compliant I think.