On Mon, 1 Jul 2024 22:20:20 +0900 Takashi Yano wrote: > On Mon, 1 Jul 2024 13:47:56 +0200 > Johannes Khoshnazar-Thoma wrote: > > Note that the hang does not happen when just running cygwin > > applications via terminal windows (like cmd, powershell and > > MinTTY). It triggers however when a cygwin application is > > run both as a service (I think as SYSTEM account, but I > > can ask again) and from a terminal window. > > Service process usually does not have console. So I think > fhandler_console::open()/close() are not called. > > Do you allocate console for your service process somehow?
I could reproduce your problem by allocating console for service process. I'll look into the problem. Thanks. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- 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