|
@ -93,11 +93,11 @@ class EEMysql(): |
|
|
# Allow p1 to receive a SIGPIPE if p2 exits |
|
|
# Allow p1 to receive a SIGPIPE if p2 exits |
|
|
p1.stdout.close() |
|
|
p1.stdout.close() |
|
|
output = p1.stderr.read() |
|
|
output = p1.stderr.read() |
|
|
|
|
|
p1.wait() |
|
|
if output == b'': |
|
|
if p1.returncode == 0: |
|
|
Log.debug(self, "done") |
|
|
Log.debug(self, "done") |
|
|
else: |
|
|
else: |
|
|
Log.error(self, output) |
|
|
Log.error(self, output.decode("utf-8")) |
|
|
except Exception as e: |
|
|
except Exception as e: |
|
|
Log.error(self, "Error: process exited with status %s" |
|
|
Log.error(self, "Error: process exited with status %s" |
|
|
% e) |
|
|
% e) |
|
|