diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 1888df813..88df65aa9 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -126,7 +126,7 @@ proc startProcess*(command: string, args: openArray[string] = [], env: StringTableRef = nil, options: set[ProcessOption] = {poStdErrToStdOut}): - owned Process {.rtl, extern: "nosp$1", tags: [ExecIOEffect, ReadEnvEffect, + owned(Process) {.rtl, extern: "nosp$1", tags: [ExecIOEffect, ReadEnvEffect, RootEffect].} ## Starts a process. `Command` is the executable file, `workingDir` is the ## process's working directory. If ``workingDir == ""`` the current directory