Add stdin support for client and daemon
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -222,13 +222,14 @@ func (s *Supervisor) SendEvent(evt *Event) {
|
||||
s.events <- evt
|
||||
}
|
||||
|
||||
func (s *Supervisor) copyIO(stdout, stderr string, i *runtime.IO) (*copier, error) {
|
||||
func (s *Supervisor) copyIO(stdin, stdout, stderr string, i *runtime.IO) (*copier, error) {
|
||||
config := &ioConfig{
|
||||
Stdin: i.Stdin,
|
||||
Stdout: i.Stdout,
|
||||
Stderr: i.Stderr,
|
||||
StdoutPath: stdout,
|
||||
StderrPath: stderr,
|
||||
StdinPath: stdin,
|
||||
}
|
||||
l, err := newCopier(config)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user