mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
More updates on documentation
This commit is contained in:
@@ -26,7 +26,8 @@ import (
|
||||
// A simple ExecPipe() pipes exec.Cmd together - somewhat similar to how bash pipes "|" behave.
|
||||
// Each command's standard output is connected to the standard input of the next command
|
||||
// and the output of the final command is returned
|
||||
|
||||
//
|
||||
// TODO: handle errors properly
|
||||
func ExecPipe(cmds ...*exec.Cmd) (pipeLineOutput io.Reader, pipeLineError error) {
|
||||
// Require at least one command
|
||||
if len(cmds) < 1 {
|
||||
|
||||
Reference in New Issue
Block a user