On Mar 3 16:44, Gregory Borota wrote:
(I don't see the point for having stderr and stdout redirected also. (for symmetry maybe))
In theory, redirecting all descriptors attached to the console window should allow to close the console window since when the last open handle is closed, Cygwin calls FreeConsole(). It's just that I don't know currently why it doesn't close the console.
Corinna
If setsid is run inside a Windows console it works as described in the readme file. But when run from a cygwin console it won't let you close the console window only after the command has finished. This behavior is under my XP Prof.
Greg
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/