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

View file

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