Fix nimrtl troubles.
This commit is contained in:
parent
c6c0d28a4f
commit
c4a57e711b
1 changed files with 1 additions and 2 deletions
|
|
@ -167,8 +167,7 @@ proc waitForExit*(p: Process, timeout: int = -1): int {.rtl,
|
||||||
## On posix, if the process has exited because of a signal, 128 + signal
|
## On posix, if the process has exited because of a signal, 128 + signal
|
||||||
## number will be returned.
|
## number will be returned.
|
||||||
|
|
||||||
|
proc peekExitCode*(p: Process): int {.rtl, extern: "nosp$1", tags: [].}
|
||||||
proc peekExitCode*(p: Process): int {.tags: [].}
|
|
||||||
## return -1 if the process is still running. Otherwise the process' exit code
|
## return -1 if the process is still running. Otherwise the process' exit code
|
||||||
##
|
##
|
||||||
## On posix, if the process has exited because of a signal, 128 + signal
|
## On posix, if the process has exited because of a signal, 128 + signal
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue