From d3ec5473942c4ada63519ca69a920a078a0cc7b8 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Mon, 9 Feb 2026 16:51:17 +0100 Subject: [PATCH] recognize CYGWIN systems in proc execute_fileevent --- src/xschem.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index 3755a8ae..a295d4de 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -243,7 +243,7 @@ proc execute_fileevent {id} { global execute OS has_x errorCode append execute(data,$id) [read $execute(pipe,$id) 1024] - if { $OS != {Windows} } { + if { ![regexp -nocase {windows} $OS] && ![regexp -nocase {cygwin} $OS]} { set eof [eof $execute(pipe,$id)] # handle processes that close stdout. Read pipe will go into eof condition # but process is still running. Doing a close operation in blocking mode