Greetings, Kristian Ivarsson via Cygwin!

> We're having a rather complex application and have noticed a rather weird
> behaviour that I cannot find any information about

> We're using posix_spawnp and sometimes it creates extra "ghost-process(es)"
> non visible to cygwin (via e.g. process status (ps)) but visible to Windows
> (Task Manager)

Cygwin may spawn processes for housekeeping. F.e. if you "program &" in shell,
an additional shell will be spawned to launch the "program" and notify the
parent shell when it exits.

> The function doesn't fail and it doesn't report any error, but sometimes
> (hard to reproduce deterministically) it creates one, or more, extra
> processes of the same binary

> Have anyone noticed and/or have some information/ideas about this ?

Are these processes correctly exit when all childs exit?


-- 
With best regards,
Andrey Repin
Friday, April 24, 2020 11:08:35

Sorry for my terrible english...

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to