Subject: Re: /sbin/ping - fails to drop into background?
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 08/04/2007 16:14:04
> I only tried this with 1.6.1 and 2.1, but it sems that /sbin/ping
> blocks if it is dropped into background, complaining about "tty
> output" even when stdout and stderr are redirected on the command
> line.  I see no option to turn this behaviour off and I need it so I
> can use ping in a daemon script to establish connectivity.

For all that it says "tty output", try redirecting stdin as well.  I've
had that work, sometimes.  (By which I mean, I can't recall whether it
works with ping, but I've had it work with somke programs that stop
themselves when they "shouldn't" in that kind of way.)

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B