diff options
-rwxr-xr-x | lib/system.nim | 3 |
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. |