bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] bug #45790: wget prints it's progress even when backgroun


From: Dale R. Worley
Subject: Re: [Bug-wget] bug #45790: wget prints it's progress even when background
Date: Thu, 29 Sep 2016 11:00:48 -0400

Piotr <address@hidden> writes:
> I would like to avoid forcing users to hack like this ;).
> Wget should print to std* when in fg and print to wget.log when in bg, no 
> matter how user gets there.
> I don't think getpgrp() == tcgetpgrp(STDOUT_FILENO) is heavy and should 
> probaby be ok to check it when printing lines.

That makes sense, though I'd be careful to check for errors returned
from tcgetpgrp().

Dale



reply via email to

[Prev in Thread] Current Thread [Next in Thread]