Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MisterDuval opened this issue Aug 31, 2022 · 0 comments

Comments

@MisterDuval
Copy link

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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant