On Mon, 19 Aug 2019 16:00:40 +0200 Corinna Vinschen wrote: > As far as I can tell this is not a bug. I added debug output and found > that ps grabs the process list *before* bash execve's into cat. So at > the time ps gets the process list, process 1942 in your example is > actually still bash. > > If you call procps, which is slower than Cygwin's own ps, you tend > to see cat more often in this scenario.
Sounds reasonable. I wonder why this does not occur in linux... -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple