hashicorp / hashicorp/go-plugin

exec: Stdout already set

Open
#315 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
511
Avg merge
22h 47m
Merged PRs (30d)
4

Description

```
type CmdRunner struct {
logger hclog.Logger
cmd *exec.Cmd

stdout io.ReadCloser
stderr io.ReadCloser

// Cmd info is persisted early, since the process information will be removed
// after Kill is called.
path string
pid int

addrTranslator
}
```
When executing the kill command to terminate a child process, I found that the runner did not close the stdout and stderr.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.