Skip to content

sg: capture output for error reporting even if IngoreStd*

Administrator requested to merge sg/capture-output into main

Created by: mrnugget

This fixes the issue where a command fails to start but the reported output is empty.

Now if, say, caddy fails to start, we don't print its output to stdout/stderr but print the error message.

Before the output would look like this:

before

With this change it looks like this:

after

Much more helpful.

Merge request reports

Loading