attempt to fix nimbuild
This commit is contained in:
parent
88f7b7bc50
commit
ab18654e59
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue