parent
05e1dadac6
commit
76dbaebd02
|
|
@ -76,7 +76,7 @@ def capture(args, env=None):
|
||||||
raise subprocess.CalledProcessError(cmd=args,
|
raise subprocess.CalledProcessError(cmd=args,
|
||||||
returncode=p.returncode,
|
returncode=p.returncode,
|
||||||
output="{}\n{}".format(out, err))
|
output="{}\n{}".format(out, err))
|
||||||
return convert_string(out)
|
return out
|
||||||
|
|
||||||
def which(command, paths = None):
|
def which(command, paths = None):
|
||||||
"""which(command, [paths]) - Look up the given command in the paths string
|
"""which(command, [paths]) - Look up the given command in the paths string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue