Fix segfault in process matching code

If 'ps' prints something to the stderr (probably from the dynamic linker), this infromation used to be read as a process information which very likely caused a crash. In order to avoid it, do not capture stderr from 'ps'.