This change makes all remaining (hopefully) commands invoked using sh module run with output to a pipe.
Default SELinux policy (at least, on Fedora) doesn't allow processes running from Apache HTTP server to create virtual terminals.
By default, sh Python module runs processes with output to virtual terminal. This is not needed for git and other commands, so it's better to explicitly make them write their output to a pipe instead of virtual terminal.
This change makes all remaining (hopefully) commands invoked using
sh
module run with output to a pipe.Default SELinux policy (at least, on Fedora) doesn't allow processes running from Apache HTTP server to create virtual terminals.
By default,
sh
Python module runs processes with output to virtual terminal. This is not needed for git and other commands, so it's better to explicitly make them write their output to a pipe instead of virtual terminal.