Expand effect list of exec to keep up with Nim compiler (need to investigate later).
This commit is contained in:
parent
9fba13a965
commit
9f66e4f7f7
@ -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)
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user