jezhumble/javasysmon — pull request #16 by EleotleCram (2012-07-19 12:30:37+00:00)
Title: Fixes #15 : ProcessInfo.html#getCommand() returns wrong information on W...

This fixes the issue by replacing the call to "GetProcessImageFileName" (which does not return the information that you want), by looking up the information directly inside the Process Environment Block (which the Microsoft Process Explorer itself also uses).

Tested on:

Windows XP (x86/win32)
Windows 7 (x64)

__
Marcel