Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The cmdwrap sh.exe hack is no longer needed. | Kaz Kylheku | 2016-06-30 | 1 | -17/+0 |
| | | | | | | | | | | | The Cygnal library uses cmd.exe for popen: problem solved. * Makefile (sh.exe): Target removed. * cmdwrap.c: File removed. * inst.nsi: Do not install sh.exe. | ||||
* | Fix command spawning on Cygwin-based standalone image. | Kaz Kylheku | 2016-06-29 | 1 | -0/+17 |
In the standalone image, we need a /bin/sh interpreter for the sh and open-command functions to work. The / path resolves to the installation directory, thanks to some sysrooting logic in the Cygwin DLL. Thus, we just need a sh.exe program in the bin directory, side by side with txr.exe. This sh.exe program can translate the "sh -c command" invocation to "cmd.exe /c command". * Makefile (sh.exe): New target, built from cmdwrap.c. * cmdwrap.c: New file. * inst.nsi: Install sh.exe. |