summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xlib/system.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 449b56c2f..c8166bc10 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2175,7 +2175,8 @@ proc staticRead*(filename: string): string {.magic: "Slurp".}
   ##   const myResource = staticRead"mydatafile.bin"
   ##
 
-proc staticExec*(command: string, input = ""): string {.magic: "StaticExec".}
+proc staticExec*(command: string, input = ""): string {.
+  magic: "StaticExec".} = nil
   ## executes an external process at compile-time.
   ## if `input` is not an empty string, it will be passed as a standard input
   ## to the executed program.
-20 17:23:09 +0200 committer Araq <rumpf_a@web.de> 2017-10-25 17:37:03 +0200 don't use .this in tcustomstrings.nim' href='/ahoang/Nim/commit/tests/destructor/tcustomstrings.nim?h=devel&id=14e236af05985516a4ebab10c3b97dfed1d60c8e'>14e236af0 ^
ffe52a7f7 ^
14e236af0 ^


ffe52a7f7 ^




















































5dca695bc ^
ffe52a7f7 ^


5dca695bc ^
ffe52a7f7 ^








58d5f9679 ^


ffe52a7f7 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97