Skip to content

Commit a7ddfc5

Browse files
committed
fix(run): use full path to sh
1 parent e8a16e0 commit a7ddfc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dive.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ proc mkdir(dir: Path) =
1818

1919
proc run(cmd: string) {.async.} =
2020
info "Running command: "&cmd
21-
let p = startProcess("sh", args=["-c", cmd], options={poParentStreams})
21+
let p = startProcess("/usr/bin/sh", args=["-c", cmd], options={poParentStreams})
2222
while p.running:
2323
await sleepAsync 10
2424
let rc = p.waitForExit

0 commit comments

Comments
 (0)