Browse Source

print program output.

Lucas Stadler 11 years ago
parent
commit
d88bd44450
1 changed files with 2 additions and 0 deletions
  1. 2 0
      go/qst.go

+ 2 - 0
go/qst.go

@ -98,6 +98,8 @@ func ShellCmd(cmd string) RestartableCommand {
98 98
99 99
func (c *RestartableCommand) Start() {
100 100
	c.Cmd = exec.Command(c.Name, c.Args...)
101
	c.Cmd.Stderr = os.Stderr
102
	c.Cmd.Stdout = os.Stdout
101 103
	c.Lock.Lock()
102 104
	go func() {
103 105
		c.Cmd.Run()