3 ms·
subprocess.check_output(cmd) runs a command and returns the output, raising an exception if the command fails.
by bobbyi_settv 9y ago
subprocess.check_output(cmd) runs a command and returns the output, raising an exception if the command fails.