summary refs log tree commit diff stats
path: root/lib/pure/osproc.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-18 20:53:41 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-18 20:53:41 +0200
commitfeef109e60fd33ff350cbcf82298a7cae83bbd72 (patch)
tree8ffd0028e2401765a6a7d6100d5731bd9f3f0425 /lib/pure/osproc.nim
parent3af5a5d9e3604a903505a04d2747c04986e6042f (diff)
downloadNim-feef109e60fd33ff350cbcf82298a7cae83bbd72.tar.gz
make tests green again
Diffstat (limited to 'lib/pure/osproc.nim')
-rw-r--r--lib/pure/osproc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim
index 664446d54..e8bca4bdd 100644
--- a/lib/pure/osproc.nim
+++ b/lib/pure/osproc.nim
@@ -832,7 +832,7 @@ elif not defined(useNimRtl):
 
     # Parent process. Copy process information.
     if poEchoCmd in options:
-      echo(command, " ", join(args, " "))
+      when declared(echo): echo(command, " ", join(args, " "))
     result.id = pid
     result.exitFlag = false