Expand effect list of exec to keep up with Nim compiler (need to investigate later).

This commit is contained in:
Jonathan Bernard 2017-11-15 21:03:03 -06:00
parent 9fba13a965
commit 9f66e4f7f7
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ proc exec*(command: string, workingDir: string = "",
args: openArray[string] = [], env: StringTableRef = nil,
options: set[ProcessOption] = {poUsePath},
msgCB: HandleProcMsgCB = nil): int
{.tags: [ExecIOEffect, ReadIOEffect], gcsafe.} =
{.tags: [ExecIOEffect, ReadIOEffect, RootEffect], gcsafe.} =
var p = startProcess(command, workingDir, args, env, options)
result = waitFor(p, msgCB, command)

View File

@ -1,6 +1,6 @@
# Package
version = "0.3.0"
version = "0.3.1"
author = "Jonathan Bernard"
description = "Helper functions for writing command line interfaces."
license = "MIT"