If the test is too fast it can read the process list before the forked child process actually manages to exec the process with the right arguments. Use our file-based synchronization primitives to ensure the child is up-and-running before we fetch the process list.