diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-01-28 10:05:05 +0100 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2020-01-28 10:05:05 +0100 |
commit | c5e82990a728f77d46de770f0a168b0b37313510 (patch) | |
tree | 97bc9d29f5712e34c301c0b8b101b8ff5264d8ca /sos.conf | |
parent | f867f783d333679ad871c77b473bd4e6a258ab4a (diff) | |
download | sos-c5e82990a728f77d46de770f0a168b0b37313510.tar.gz |
[utilities] Add --foreground to timeout commands optionally
A small number of recent issues have been identified that revolved
around certain commands hanging when run by sos unless `timeout=None`
was specified for those commands.
This patch adds `--foreground` to the `timeout` command that we use to
wrap any collected commands, so as to not disconnect the TTY which was
resulting in the hanging behavior. This addition is controlled by the
use of the new `foreground` parameter in any `add_cmd_output()` or
`collect_cmd_output()` call.
Resolves: #1909
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'sos.conf')
0 files changed, 0 insertions, 0 deletions