Hi!
I wanted to use Bingo. It required Run. So I compiled it. Compilation works, but any Runfile with fail with this error:
exec: "/usr/bin/env": file does not exist
The culprit is this line
|
cmd = exec.Command("/usr/bin/env", append([]string{shell, tmpFile.Name()}, args...)...) |
Possible solution: Check if GOOS == 'windows' and execute shell directly, without using /usr/bin/env.
Hi!
I wanted to use Bingo. It required Run. So I compiled it. Compilation works, but any Runfile with fail with this error:
The culprit is this line
run/internal/exec/exec.go
Line 68 in 27ff98d
Possible solution: Check if
GOOS == 'windows'and executeshelldirectly, without using /usr/bin/env.