summary refs log tree commit diff stats
path: root/tests/stdlib/t10231.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #10273 execShellCmd now returns nonzero when child killed with signal ↵Timothee Cour2019-01-131-0/+2
| | | | | | | | | | + other fixes (#10274) * s/exitStatus(...)/exitStatusLikeShell(...)/ * fix #10273 execShellCmd now returns nonzero when child exits with signal * test case for #10249 and explanation for the bug * fix test failure * add tests/nim.cfg
* os.execShellCmd: fixes #10231 (#10232)alaviss2019-01-081-0/+13
Darwin has long deprecated the wait union, but their macros still assume it unless you define _POSIX_C_SOURCE. This trips up C++ compilers. This commit duplicates the behavior of WEXITSTATUS when _POSIX_C_SOURCE is defined.