Skip to content

Plugins can't be executed on Windows #737

@dsimansk

Description

@dsimansk

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

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor.kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions