]> git.xonotic.org Git - xonotic/gmqcc.git/commit
testsuite compiles on windows now (but doesn't work). Still need to implement bidire...
authorDale Weiler <killfieldengine@gmail.com>
Fri, 21 Dec 2012 06:59:34 +0000 (01:59 -0500)
committerDale Weiler <killfieldengine@gmail.com>
Fri, 21 Dec 2012 06:59:34 +0000 (01:59 -0500)
commitc9e3c29a259eeb8e1684993a30d2a06a153f5265
tree097dd60850ed569c5a70f24105b543908e35177b
parent3c003bc168fe47f3e7ce08328782f969b59d89a3
testsuite compiles on windows now (but doesn't work).  Still need to implement bidirectional piping on stdout/stderr/stdin.. Which for some reason is incredibly stupidly complicated on windows.  You need to setup SECURITY_ATTRIBUTES for each handle, do crazy handle duplication, and forking via CreateThread.  Meanwhile the whole "concept" of threading is entierly broken in fundamental design on windows, which means you constantly need to store the current process handles for backup, and "inherit" from child process.  It's just stupid, provide unix pipes via close/open and dup.  Like normal people (they're simple and sane).
test.c