From cce4e5ec80366198458c5206a2013cacaed8a5e8 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Wed, 15 Nov 2017 21:03:03 -0600 Subject: [PATCH] Expand effect list of exec to keep up with Nim compiler (need to investigate later). --- cliutils.nim | 2 +- cliutils.nimble | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cliutils.nim b/cliutils.nim index 576a87d..1a84d02 100644 --- a/cliutils.nim +++ b/cliutils.nim @@ -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) diff --git a/cliutils.nimble b/cliutils.nimble index 52a0491..169b4f1 100644 --- a/cliutils.nimble +++ b/cliutils.nimble @@ -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"