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