From 6378e436a0a21d90526532f4646904da051ff8c9 Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Fri, 12 Apr 2024 15:41:51 -0700 Subject: let stderr through --- earlpy/earlpy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'earlpy') diff --git a/earlpy/earlpy.py b/earlpy/earlpy.py index a1f4e17..5a1cb52 100644 --- a/earlpy/earlpy.py +++ b/earlpy/earlpy.py @@ -58,8 +58,7 @@ class Parser: return result def parse_file(self, path): - res = subprocess.run([self.parser, path], stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + res = subprocess.run([self.parser, path], stdout=subprocess.PIPE) if res.returncode: print("FAIL:", res.stderr.decode("utf-8")) raise ValueError -- cgit v1.2.3