[m18] Use vfork() in run_cmd() to prevent phantom crashes