MCPcopy Create free account
hub / github.com/NVIDIA/gpu-operator / runCommand

Function runCommand

cmd/nvidia-validator/main.go:648–655  ·  view source on GitHub ↗
(command string, args []string, silent bool)

Source from the content-addressed store, hash-verified

646}
647
648func runCommand(command string, args []string, silent bool) error {
649 cmd := exec.Command(command, args...)
650 if !silent {
651 cmd.Stdout = os.Stdout
652 cmd.Stderr = os.Stderr
653 }
654 return cmd.Run()
655}
656
657func runCommandWithWait(command string, args []string, sleepSeconds int, silent bool) error {
658 for {

Callers 9

validateHostDriverFunction · 0.85
runValidationMethod · 0.85
runValidationMethod · 0.85
runValidationMethod · 0.85
validateMethod · 0.85
runValidationMethod · 0.85
runValidationMethod · 0.85

Calls 1

RunMethod · 0.80

Tested by

no test coverage detected