def _run_jhaskell_compiler(self, extra_args=None):
    if (extra_args is None):
        extra_args = []
    original_dir = pathlib.Path.cwd()
    args = (((['compiler-exe', '--build-dir', f"{(self._temp_dir / 'out')}", '--output-jar', str(self._output_jar), '--output-class', self._class_name, '--runtime-file-dir', str((original_dir.parent / 'runtime'))] + self._compiler_args) + extra_args) + [f'programs/{self._package_name}.hs'])
    try:
        return subprocess.check_output(args)
    except subprocess.CalledProcessError as e:
        print(e.stdout.decode())
        raise
def _run_jhaskell_compiler(self, extra_args=None):
    if (extra_args is None):
        extra_args = []
    original_dir = pathlib.Path.cwd()
    args = (((['compiler-exe', '--build-dir', f"{(self._temp_dir / 'out')}", '--output-jar', str(self._output_jar), '--output-class', self._class_name, '--runtime-file-dir', str((original_dir.parent / 'runtime'))] + self._compiler_args) + extra_args) + [f'programs/{self._package_name}.hs'])
    try:
        return subprocess.check_output(args)
    except subprocess.CalledProcessError as e:
        print(e.stdout.decode())
        raise