Bug report
We use syscall.Exec() as underlying mechanism to execute plugins locally. However, syscall doesn't support Windows as target platform.
The very same problem resolved in kubectl.
|
// Execute implements PluginHandler |
|
func (h *DefaultPluginHandler) Execute(executablePath string, cmdArgs, environment []string) error { |
|
return syscall.Exec(executablePath, cmdArgs, environment) |
|
} |
Expected behavior
kn plugins are executable on Windows.
kn version
HEAD
/kind good-first-issue
Bug report
We use
syscall.Exec()as underlying mechanism to execute plugins locally. However,syscalldoesn't support Windows as target platform.The very same problem resolved in kubectl.
client/pkg/kn/commands/plugin/handler.go
Lines 94 to 97 in db569fa
Expected behavior
knplugins are executable on Windows.kn version
HEAD
/kind good-first-issue