Hacker News new | ask | show | jobs
by qb45 3489 days ago

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