/bin/sh calls tee which never exits

Bill Campbell linux-sxs
Wed Mar 21 22:27:52 PDT 2007


On Thu, Mar 22, 2007, James McDonald wrote:
>I have an issue with a backup script on a Redhat EL3.1 box
>
>Until recently it worked fine but now that a new command has been added 
>in the form of:
>
>program_to_execute "program args" 2>redirect_to_file &
>
>I am having to kill the tee -a $LOG process called as shown in the tree 
>below to let it complete

It appears that $program_to_execute is a script that contains the
tee command.

...
Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``UNIX was not designed to stop you from doing stupid things, because that
would also stop you from doing clever things.'' -- Doug Gwyn



More information about the Linux-users mailing list