#12725: T7037 is broken on Windows ---------------------------------+-------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by bgamari): Unfortunately my naive attempt at a minimal reproduction case failed, {{{#!bash $ cat >test.py <<EOF import subprocess while True: p = subprocess.Popen('./test.exe', stdout=subprocess.PIPE, stderr=subprocess.PIPE) (out,err) = p.communicate() assert p.wait() == 0 assert out == 'hi\r\n' assert err == '' EOF $ cat >test.c <<EOF #include <stdio.h> int main() { printf("hi\n"); return 0; } EOF $ gcc -o test.exe test.c $ python test.py }}} Never seems to fail. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12725#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler