bugfix: don't change OSError()'s behaviour
This commit is contained in:
parent
0db6f3c00f
commit
1893f4101a
2 changed files with 11 additions and 14 deletions
|
|
@ -200,10 +200,10 @@ proc execProcesses*(cmds: openArray[string],
|
|||
result = max(waitForExit(p), result)
|
||||
|
||||
proc select*(readfds: var seq[PProcess], timeout = 500): int
|
||||
## select with a sensible Nimrod interface. `timeout` is in miliseconds.
|
||||
## Specify -1 for no timeout. Returns the number of file handles that are
|
||||
## ready. The processes that are ready to be read from are removed from
|
||||
## `readfds`.
|
||||
## `select` with a sensible Nimrod interface. `timeout` is in miliseconds.
|
||||
## Specify -1 for no timeout. Returns the number of processes that are
|
||||
## ready to read from. The processes that are ready to be read from are
|
||||
## removed from `readfds`.
|
||||
|
||||
when not defined(useNimRtl):
|
||||
proc execProcess(command: string,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue