mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Redirect cmds output to stdout.
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user