Documentation ¶ Index ¶ func ExecuteCommands(ctx context.Context, commands []string) ([]byte, []byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ExecuteCommands ¶ func ExecuteCommands(ctx context.Context, commands []string) ([]byte, []byte, error) ExecuteCommands execute shell commands one by one, If one command failed, the rest commands will not be executed. Return the stdout and stderr of the all commands. Types ¶ This section is empty. Source Files ¶ View all Source files shell.go Click to show internal directories. Click to hide internal directories.