mirror of
https://github.com/fosrl/olm.git
synced 2026-03-08 23:03:12 -05:00
[PR #15] [CLOSED] Update path to netsh i Windows #30
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/olm/pull/15
Author: @hetlelid
Created: 8/26/2025
Status: ❌ Closed
Base:
main← Head:patch-1📝 Commits (1)
ac40580Update common.go📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
common.go(+1 -1)📄 Description
Win11 reporting:
"ERROR: 2025/08/26 09:38:55 Failed to configure interface: netsh command failed: exec: "netsh": cannot run executable found relative to current directory, output:"
--
Ref:
indicates a security measure implemented in Go 1.19 and later versions, affecting how executables are resolved via the system's PATH environment variable. Specifically, the os/exec package in Go will no longer resolve a program using an implicit or explicit path entry relative to the current directory (e.g., ./go on Unix or .\go.exe on Windows), even if the PATH is configured to allow it.
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.