MCPcopy
hub / github.com/pyload/pyload / check_prog

Method check_prog

module/setup.py:442–448  ·  view source on GitHub ↗
(self, command)

Source from the content-addressed store, hash-verified

440 return False
441
442 def check_prog(self, command):
443 pipe = PIPE
444 try:
445 call(command, stdout=pipe, stderr=pipe)
446 return True
447 except:
448 return False
449
450 def ask(self, qst, default, answers=[], bool=False, password=False):
451 """produce one line to asking for input"""

Callers 1

system_checkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected