Dan Peterson writes:

> On Tue, 11 Mar 2003 [EMAIL PROTECTED] wrote:
> 
> > On Tue, 11 Mar 2003 [EMAIL PROTECTED] wrote:
> >
> >> What is the exact content of your $CVSROOT/CVSROOT/loginfo file?
> >
> > DEFAULT 
> (/home/cvsuser/cvs-scripts/cvs-mail-checkin-notifications 
> %{sVv} >> /home/cvsuser/cvslogs/commit-mailer.log 2>&1)&
> 
> I believe the reason you're not seeing anything on STDIN is 
> because you're
> putting the process in the background.  The data the CVS 
> server sends to
> STDIN is going to the parent of the background process, not 
> the background
> process itself.

That was it exactly.  The subshell was getting STDIN and not passing
it on to the script.  I took your suggestion for forking a child
and dissociating it from the parent and everything is good now.

> PPS. You should also be very cautious using the %{sVv} string 
> if any of your file/directory names contain spaces.

Oooooh, that hadn't occurred to me.  You're right, everything would break
since
I'm using spaces in the ARGV string as token seperators.  Fortunately, our
coding
specs forbid files or dirs with embedded spaces, but it's still something to
pay attention to if the system barfs at some point in the future.

Thanks for your help (and thanks to everyone on the list who helped me
troubleshoot this, I appreciate it greatly).

daniel


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to