50
43
def __init__(self, path):
56
51
def run(self, *args, **kwargs):
57
52
raise NotImplementedError('should not be called on %r' % self)
59
55
def run_argv(self, argv):
60
56
return os.spawnv(os.P_WAIT, self.path, [self.path] + argv)
63
60
m = 'external command from %s\n\n' % self.path
64
61
pipe = os.popen('%s --help' % self.path)