func runScripts()

in cmd/cloudshell_open/scripts.go [47:56]


func runScripts(dir string, commands, envs []string) error {
	for _, command := range commands {
		err := runScript(dir, command, envs)
		if err != nil {
			return fmt.Errorf("failed to execute command[%s]: %v", command, err)
		}
	}

	return nil
}