mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-10-19 17:55:16 +02:00
Added comment to func ExecAndGetLines
This commit is contained in:
@@ -55,6 +55,7 @@ func Exec(command string, args []string) string {
|
||||
|
||||
}
|
||||
|
||||
// Exec : Runs a terminal Command, returns the result as a *bufio.Scanner type, split in lines and ready to parse.
|
||||
func ExecAndGetLines(command string, args []string) *bufio.Scanner {
|
||||
cmdOutput := Exec(command, args)
|
||||
cmdOutputReader := strings.NewReader(cmdOutput)
|
||||
|
||||
Reference in New Issue
Block a user