Home > Mobile >  How to find out the full command with which the process was launched?
How to find out the full command with which the process was launched?

Time:04-18

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.

enter image description here

CodePudding user response:

using psutil can help you retrive this information once you have relative pid information.

import psutil
psutil.Process(pid=xxx).cmdline()
  • Related