Resolve bugs

This commit is contained in:
cheatfate 2016-05-24 01:37:31 +03:00
commit d4f3db3bd0

View file

@ -970,7 +970,7 @@ elif not defined(useNimRtl):
when defined(macosx) or defined(freebsd) or defined(netbsd) or when defined(macosx) or defined(freebsd) or defined(netbsd) or
defined(openbsd): defined(openbsd):
import kqueue import kqueue, times
proc waitForExit(p: Process, timeout: int = -1): int = proc waitForExit(p: Process, timeout: int = -1): int =
if p.exitCode != -3: return p.exitCode if p.exitCode != -3: return p.exitCode