38
38
def __init__(self, executable, executable_args, *args, **kwargs):
39
39
"""Create a new interpreter using the specified executable with the specified arguments."""
40
40
super(ExternalInterpreter, self).__init__(*args, **kwargs)
41
self.interpreter = subprocess.Popen(executable, *executable_args, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)