remove comments
This commit is contained in:
parent
c3170bb820
commit
98b81eaaf5
1 changed files with 0 additions and 31 deletions
|
|
@ -169,34 +169,3 @@ func main() {
|
|||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
// func runCmds(cmds []*exec.Cmd) {
|
||||
// for _, cmd := range cmds {
|
||||
// fmt.Printf("<----->\nCommand: %s\n<----->\n", cmd)
|
||||
//
|
||||
// stdout, _ := cmd.StdoutPipe()
|
||||
// scanner := bufio.NewScanner(stdout)
|
||||
//
|
||||
// err := cmd.Start()
|
||||
// if err != nil {
|
||||
// fmt.Printf("%+v\n", err)
|
||||
// }
|
||||
//
|
||||
// for scanner.Scan() {
|
||||
// out := fmt.Sprintf("%q", scanner.Text())
|
||||
// out = strings.Trim(out, "\"")
|
||||
// out = strings.ReplaceAll(out, `\u00a0`, " ")
|
||||
//
|
||||
// if out != "" {
|
||||
// fmt.Print("\r")
|
||||
// fmt.Print(out)
|
||||
// } else {
|
||||
// fmt.Print("\n")
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// for _, cmd := range cmds {
|
||||
// cmd.Wait()
|
||||
// }
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue