mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-18 21:09:38 +00:00
Merge commit '28261e03eebefc34eb324da0f9aa83643c692417' into thingdoer
This commit is contained in:
@@ -23,7 +23,7 @@ type thing struct {
|
||||
func (t *thing) run() {
|
||||
var out bytes.Buffer
|
||||
|
||||
cmd := exec.Command("/bin/sh", "-c", t.Command)
|
||||
cmd := exec.Command("/bin/bash", "-c", t.Command)
|
||||
cmd.Env = os.Environ()
|
||||
cmd.Stdout = &out
|
||||
cmd.Stderr = &out
|
||||
|
||||
Reference in New Issue
Block a user