Axel Naumann
authored
Add check for terminal foreground process group to know whether we can write (istty() is not enough), see r32454. Fixes root -l -b script.C & git-svn-id: http://root.cern.ch/svn/root/trunk@39590 27541ba8-7e3a-0410-8455-c3a389f83636