Getting child PIDs to work not only on Unix