Skip to content

exec: es-start.bat: cannot run executable found relative to current directory #18

Open
@MisterDuval

Description

@MisterDuval

Isn't this a new restriction introduced in go 1.19?
https://tip.golang.org/doc/go1.19#os-exec-path
Looks like a bug like this one: syncthing/syncthing#8499

I add to put a full path instead of a relative one. This should be documented?

do:

exec c:\test\es-start.bat {
    startup
}

instead of:

exec es-start.bat {
    startup
}

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