Fixed for process name in Windows XP.
Added linux support.