mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: wmakeScheduler: detect tty
This commit is contained in:
@ -151,7 +151,8 @@ set -o pipefail
|
|||||||
#
|
#
|
||||||
colourPipe()
|
colourPipe()
|
||||||
{
|
{
|
||||||
if [ "$1" ]
|
|
||||||
|
if tty -s <&1 # [ "$1" ]
|
||||||
then
|
then
|
||||||
(
|
(
|
||||||
while read line
|
while read line
|
||||||
|
|||||||
Reference in New Issue
Block a user