Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BashRunner ¶
type BashRunner struct{}
BashRunner is bash command runner
Example ¶
br := BashRunner{}
scanner, _ := br.Run("ls ./")
for scanner.Scan() {
fmt.Print(scanner.Text() + "\n")
}
Output: exec.go exec_test.go
Click to show internal directories.
Click to hide internal directories.