forked from mirror/redis
Redirect cmds output to stdout.
This commit is contained in:
parent
95cd890e40
commit
15a90c831b
|
@ -132,7 +132,7 @@ func sortStrings(slice []string) []string {
|
||||||
|
|
||||||
func execCmd(name string, args ...string) (*os.Process, error) {
|
func execCmd(name string, args ...string) (*os.Process, error) {
|
||||||
cmd := exec.Command(name, args...)
|
cmd := exec.Command(name, args...)
|
||||||
if false {
|
if true {
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue