The Process Hacker program has the ability to find out the full command with which a particular process was launched (as shown in the screenshot).
Is it possible to learn this command using Python?
OS: Windows 10.
CodePudding user response:
using psutil can help you retrive this information once you have relative pid information.
import psutil
psutil.Process(pid=xxx).cmdline()