SendInput writes data to the running command's stdin.
func (h *SandboxCommandHandle) SendInput(data string) error| Name | Type | Description |
|---|---|---|
data* | string |
SendInput writes data to the running command's stdin. It fails once stdin is closed, either by CloseInput or by the default a non-PTY StartCommand applies.