Don't crash when the /proc/<pid>/stat file failed to open.
This may happen if a process exits after we got the /proc listing. If we fail to open the file, readAll() returns empty, which means split() returns an empty list, which means you can't do at(1).
Please register or sign in to comment