fixes #811
This commit is contained in:
parent
f95a8df243
commit
cf544f6a85
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue