Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Sherver: Bash lightweight web server. Parent comment
Your second strace is misleading, you didn't trace child processes.
$ strace bash -c '$(which echo) hi' 2>&1 | grep 'exec' execve("/bin/bash", ["bash", "-c", "$(which echo) hi"], 0x7ffddfcdaee0 /* 59 vars */) = 0 execve("/bin/echo", ["/bin/echo", "hi"], 0x55eb565cb0b0 /* 59 vars */) = 0 $ strace -f bash -c '$(which echo) hi' 2>&1 | grep 'exec' execve("/bin/bash", ["bash", "-c", "$(which echo) hi"], 0x7ffd09b3e228 /* 59 vars */) = 0 [pid 81493] execve("/usr/bin/which", ["which", "echo"], 0x5560d172e0b0 /* 59 vars */) = 0 execve("/bin/echo", ["/bin/echo", "hi"], 0x5560d172e0b0 /* 59 vars */) = 0
There are no comments on this comment yet.
Your second strace is misleading, you didn't trace child processes.