Catch getCmdline errors.
Store only a flag instead of the whole ProcessInfo object.