diff options
author | alaviss <alaviss@users.noreply.github.com> | 2019-01-07 18:27:07 +0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-07 12:27:07 +0100 |
commit | 139fa396e8fa0e8603d4f53ac90841421e50aa3f (patch) | |
tree | 8b6640bd50e9f5b6826f6e0fd5a6160798dadd35 /lib/windows | |
parent | 87f8ec5b92d5647ab4b1875262e845d51dd82763 (diff) | |
download | Nim-139fa396e8fa0e8603d4f53ac90841421e50aa3f.tar.gz |
os.execShellCmd: use WEXITSTATUS to retrieve exit code (#10222)
According to POSIX, system() shall returns the termination status in the format specified by waitpid(), which means WEXITSTATUS should be used to retrieve the exit code portably. This fixes execShellCmd on Haiku.
Diffstat (limited to 'lib/windows')
0 files changed, 0 insertions, 0 deletions