Jump to content

PSlist waits for keypress


Recommended Posts

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?
Edited by Briefmich
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...