subprocess.communicate() method didn't allow a direct pipe output to the shell and therefore wasn't shown to the user. Switched to check_call method. Additionally, the correct exit code is returned when the first part of the command fails.
Resolves: rhbz#2124809 JIRA: RHELCMP-9960
Signed-off-by: Ondrej Nosek onosek@redhat.com
@ppisar FIY. I will make a patched release.
Thanks. I confirm the new release in Rawhide fixed it.
Pull-Request has been merged by onosek
subprocess.communicate() method didn't allow a direct pipe output
to the shell and therefore wasn't shown to the user. Switched to
check_call method.
Additionally, the correct exit code is returned when the first part
of the command fails.
Resolves: rhbz#2124809
JIRA: RHELCMP-9960
Signed-off-by: Ondrej Nosek onosek@redhat.com