exec: es-start.bat: cannot run executable found relative to current directory
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
The issue references a Go 1.19 change in os/exec that restricts relative path execution. Look at the caddy-exec module's code for the exec command handling, likely in a file like exec.go. Understand how the module currently resolves command paths. The fix may involve updating path resolution or documentation. Test by running a relative path command after changes to ensure it works or fails appropriately.
Written by the indexing model from the issue text.
Description
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: https://github.com/syncthing/syncthing/issues/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
}
- Dominant language
- Go
- Stars
- 155
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from abiosoft/caddy-exec
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
abiosoft/caddy-exec#28 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
abiosoft/caddy-exec#27 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 40/100
abiosoft/caddy-exec#26 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
abiosoft/caddy-exec#25 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
abiosoft/caddy-exec#24 · 2 comments ·
All issues in abiosoft/caddy-exec
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·