Use readlink instead of QFileInfo to prevent non-responsive issues.
The current code using QFileInfo on the /proc/%pid/cwd and for some situations, this may cause issues as QFileInfo hangs if unable to read that file. The new code uses readlink which appears to work w/o issue. The Solaris code needs fixed as well. CCBUG: 251351