mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-23 03:16:53 +00:00
attempt to fix nimbuild
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user