address comments
This commit is contained in:
parent
c0a91970f2
commit
e4850b7f1c
3 changed files with 3 additions and 3 deletions
|
|
@ -155,7 +155,7 @@ proc running*(p: Process): bool {.rtl, extern: "nosp$1", tags: [].}
|
|||
## Returns true iff the process `p` is still running. Returns immediately.
|
||||
|
||||
proc processID*(p: Process): int {.rtl, extern: "nosp$1".} =
|
||||
## returns `p`'s process ID. See also ``os.processID()``.
|
||||
## returns `p`'s process ID. See also ``os.getCurrentProcessId()``.
|
||||
return p.id
|
||||
|
||||
proc waitForExit*(p: Process, timeout: int = -1): int {.rtl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue