Lines Matching refs:cmd
388 cmd = DebugValues.get_value("bin_zonename") # pylint: disable=E1120
389 if cmd is not None:
390 cmd = [cmd]
392 cmd = ["/bin/zonename"]
395 if not li.path_exists(cmd[0]):
401 p = pkg.pkgsubprocess.Popen(cmd, stdout=fout, stderr=ferrout)
404 cmd = " ".join(cmd)
409 cmd_failed=(p.returncode, cmd, errout))
417 def _zoneadm_list_parse(line, cmd, output):
439 cmd_output_invalid=(cmd, output))
451 cmd = DebugValues.get_value("bin_zoneadm") # pylint: disable=E1120
452 if cmd is not None:
453 cmd = [cmd]
455 cmd = ["/usr/sbin/zoneadm"]
458 if not li.path_exists(cmd[0]):
465 cmd.extend(["-R", str(root), "list", "-cp"])
471 p = pkg.pkgsubprocess.Popen(cmd, stdout=fout, stderr=ferrout)
474 cmd = " ".join(cmd)
479 cmd_failed=(p.returncode, cmd, errout))
489 _zoneadm_list_parse(l, cmd, output)