Skip to content

Error on Windows #45

@rashil2000

Description

@rashil2000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions