This commit is contained in:
Araq
2014-02-14 22:37:36 +01:00
parent f95a8df243
commit cf544f6a85

View File

@@ -791,7 +791,7 @@ elif not defined(useNimRtl):
proc csystem(cmd: cstring): cint {.nodecl, importc: "system".}
proc execCmd(command: string): int =
when defined(linux)
when defined(linux):
result = csystem(command) shr 8
else:
result = csystem(command)