Skip to content

Commit

Permalink
fix(run): use full path to sh
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Jan 15, 2025
1 parent e8a16e0 commit a7ddfc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dive.nim
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ proc mkdir(dir: Path) =

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

0 comments on commit a7ddfc5

Please sign in to comment.