Leonid Plyushch
5 years ago
1 changed files with 6 additions and 5 deletions
@ -1,11 +1,12 @@ |
|||||
--- ./lib/pure/osproc.a.nim 2018-11-20 22:10:39.892888610 +0000
|
diff -uNr nim-1.2.0/lib/pure/osproc.nim nim-1.2.0.mod/lib/pure/osproc.nim
|
||||
+++ ./lib/pure/osproc.nim 2018-11-20 22:11:48.031167863 +0000
|
--- nim-1.2.0/lib/pure/osproc.nim 2020-04-03 15:47:18.000000000 +0300
|
||||
@@ -792,7 +792,7 @@
|
+++ nim-1.2.0.mod/lib/pure/osproc.nim 2020-04-05 21:02:38.903445889 +0300
|
||||
|
@@ -852,7 +852,7 @@
|
||||
if poEvalCommand in options: |
if poEvalCommand in options: |
||||
const useShPath {.strdefine.} = |
const useShPath {.strdefine.} = |
||||
when not defined(android): "/bin/sh" |
when not defined(android): "/bin/sh" |
||||
- else: "/system/bin/sh"
|
- else: "/system/bin/sh"
|
||||
+ else: "@TERMUX_PREFIX@/bin/sh"
|
+ else: "@TERMUX_PREFIX@/bin/sh"
|
||||
sysCommand = useShPath |
data.sysCommand = useShPath |
||||
sysArgsRaw = @[sysCommand, "-c", command] |
sysArgsRaw = @[data.sysCommand, "-c", command] |
||||
assert args.len == 0, "`args` has to be empty when using poEvalCommand." |
assert args.len == 0, "`args` has to be empty when using poEvalCommand." |
||||
|
Loading…
Reference in new issue