home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,843 of 68,980   
   JJ to Tom Del Rosso   
   Re: Bug in tasklist output   
   08 Jan 22 12:54:49   
   
   From: jj4public@gmail.com   
      
   On Fri, 7 Jan 2022 08:18:49 -0500, Tom Del Rosso wrote:   
   > 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.   
   >   
   >>tasklist|sort|find /i "firefox"   
   > firefox.exe                 3908 Console                 0  1,269,432 K   
   >   
   >>tasklist|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.   
      
   IME, both TASKLIST and FIND are stable enough to produce consistent result.   
   And there doesn't seem to be any Windows registry setting related to pipe   
   functionality.   
      
   Which Windows version is that?   
      
   My only guess is interference from third party anti virus (AV) application   
   or other system utility tool which may affect processes other than   
   themselves, cause there are reports that buggy AVs interfered remote based   
   pipe operation or other things.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca