diff options
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/osproc.nim | 2 | ||||
-rw-r--r-- | lib/pure/streams.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index e7ab395ae..78f9a06eb 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -126,7 +126,7 @@ proc startCmd*(command: string, options: set[ProcessOption] = { ## Deprecated - use `startProcess` directly. result = startProcess(command=command, options=options + {poEvalCommand}) -proc close*(p: Process) {.rtl, extern: "nosp$1", tags: [].} +proc close*(p: Process) {.rtl, extern: "nosp$1", tags: [WriteIOEffect].} ## When the process has finished executing, cleanup related handles. ## ## **Warning:** If the process has not finished executing, this will forcibly diff --git a/lib/pure/streams.nim b/lib/pure/streams.nim index cd6f01b6a..0f65d6c0e 100644 --- a/lib/pure/streams.nim +++ b/lib/pure/streams.nim @@ -46,7 +46,7 @@ type ## accessible so that a stream implementation ## can override them. closeImpl*: proc (s: Stream) - {.nimcall, raises: [Exception, IOError, OSError], tags: [ReadIOEffect, WriteIOEffect], gcsafe.} + {.nimcall, raises: [Exception, IOError, OSError], tags: [WriteIOEffect], gcsafe.} atEndImpl*: proc (s: Stream): bool {.nimcall, raises: [Defect, IOError, OSError], tags: [], gcsafe.} setPositionImpl*: proc (s: Stream, pos: int) |