|
@@ -66,6 +66,7 @@ def run_with_log(args, *, check = True, input = None, **kwargs): |
|
|
stdout.append(data) |
|
|
stdout.append(data) |
|
|
if stderrBuf: |
|
|
if stderrBuf: |
|
|
_logger.info(stderrBuf.decode('utf-8')) |
|
|
_logger.info(stderrBuf.decode('utf-8')) |
|
|
|
|
|
p.wait() |
|
|
assert p.poll() is not None |
|
|
assert p.poll() is not None |
|
|
if input is not None and stdinOffset < len(input): |
|
|
if input is not None and stdinOffset < len(input): |
|
|
_logger.warning(f'Could not write all input to the stdin pipe (wanted to write {len(input)} bytes, only wrote {stdinOffset})') |
|
|
_logger.warning(f'Could not write all input to the stdin pipe (wanted to write {len(input)} bytes, only wrote {stdinOffset})') |
|
|