Hello, I wonder why PSlist waits for some input even when it has finished already?
If I run it like this
pslist.exe -s 2
in task manager mode for 2 seconds (so I have the CPU load numbers for processes) it never ends unless a key is pressed. This is useless if I want to call it from another script and have output in a file like this
pslist.exe -s 2 >procs.txt
because it never finishes! Anybody has an idea if anything else can be done except killing a process after some time?