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