You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
598 B
12 lines
598 B
diff -uNr nim-1.2.0/lib/pure/osproc.nim nim-1.2.0.mod/lib/pure/osproc.nim
|
|
--- nim-1.2.0/lib/pure/osproc.nim 2020-04-03 15:47:18.000000000 +0300
|
|
+++ 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:
|
|
const useShPath {.strdefine.} =
|
|
when not defined(android): "/bin/sh"
|
|
- else: "/system/bin/sh"
|
|
+ else: "@TERMUX_PREFIX@/bin/sh"
|
|
data.sysCommand = useShPath
|
|
sysArgsRaw = @[data.sysCommand, "-c", command]
|
|
assert args.len == 0, "`args` has to be empty when using poEvalCommand."
|
|
|