Tom Del Rosso
2022-01-07 13:18:49 UTC
I've noted before that when you pipe tasklist to FIND, it often (maybe
usually), fails to see some of the output unless there is another
program in between. This could be SORT or any other stdin/stdout
program.
For example, the first line sees firefox, but the second line usually
doesn't see it.
Now, I just wanted to follow up with the observation that if you run
this repeatedly you get output that is truncated in a different way each
time:
tasklist|find /v "xxxx"
This gives a little insight into the bug. WMIC can also give a task list
but I haven't tested it much.
usually), fails to see some of the output unless there is another
program in between. This could be SORT or any other stdin/stdout
program.
For example, the first line sees firefox, but the second line usually
doesn't see it.
tasklist|sort|find /i "firefox"
firefox.exe 3908 Console 0 1,269,432 Ktasklist|find /i "firefox"
[usually no output]Now, I just wanted to follow up with the observation that if you run
this repeatedly you get output that is truncated in a different way each
time:
tasklist|find /v "xxxx"
This gives a little insight into the bug. WMIC can also give a task list
but I haven't tested it much.
--
Defund the Thought Police
Defund the Thought Police