Commit 4819b9a0 authored by mattijs's avatar mattijs
Browse files

ENH: wmakeScheduler: detect tty

parent 93fa2893
......@@ -151,7 +151,8 @@ set -o pipefail
#
colourPipe()
{
if [ "$1" ]
if tty -s <&1 # [ "$1" ]
then
(
while read line
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment