forked from nim-lang/Nim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix nim-lang#10273 execShellCmd now returns nonzero when child exits …
…with signal
- Loading branch information
1 parent
422affd
commit fb01358
Showing
7 changed files
with
134 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ doc/*.html | |
doc/*.pdf | ||
doc/*.idx | ||
/web/upload | ||
build/* | ||
/build/* | ||
bin/* | ||
|
||
# iOS specific wildcards. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#[ | ||
todo: move findNimStdLibCompileTime, findNimStdLib here | ||
]# | ||
|
||
import os | ||
|
||
# Note: all the const paths defined here are known at compile time and valid | ||
# so long Nim repo isn't relocated after compilation. | ||
|
||
const sourcePath = currentSourcePath() | ||
# robust way to derive other paths here | ||
# We don't depend on PATH so this is robust to having multiple nim | ||
# binaries | ||
|
||
const nimRootDir* = sourcePath.parentDir.parentDir.parentDir | ||
## root of Nim repo | ||
|
||
const stdlibDir* = nimRootDir / "lib" | ||
# todo: make nimeval.findNimStdLibCompileTime use this | ||
|
||
const systemPath* = stdlibDir / "system.nim" | ||
|
||
const buildDir* = nimRootDir / "build" | ||
## refs #10268: all testament generated files should go here to avoid | ||
## polluting .gitignore | ||
|
||
static: | ||
# sanity check | ||
doAssert fileExists(systemPath) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters