From c4a57e711b154c7fa333ec6daac25059e1fd3c6f Mon Sep 17 00:00:00 2001 From: cheatfate Date: Tue, 28 Nov 2017 14:40:33 +0200 Subject: [PATCH] Fix nimrtl troubles. --- lib/pure/osproc.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 5a22f3a39..6e0307c8f 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -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 ## number will be returned. - -proc peekExitCode*(p: Process): int {.tags: [].} +proc peekExitCode*(p: Process): int {.rtl, extern: "nosp$1", tags: [].} ## 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