4 ms·sh -c 'exec strace -p $$' This is race-free and POSIX-compliant I think.by qb45 10y agosh -c 'exec strace -p $$' This is race-free and POSIX-compliant I think.