Re: Environment variables lost when post-commit hook is executed
From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 25 Sep 2008 13:12:15 -0400
On Thu, Sep 25, 2008 at 9:15 AM, vinay i <vinay.indresh_at_gmail.com> wrote:
STDOUT is simply dropped and not redirected. STDERR is captured and is
However, it doesn't mean you can't have your program do any
* Write to the Syslog (Unix) or Events Viewer (Windows)
With a bit of work, you could have your hook write to another process
The main thing is that printing to STDOUT is not the default behavior
In Perl, you can use the "select" statement to select another file
open (LOG, ">$logfile") or die "Can't open $logfile";
-- David Weintraub qazwart_at_gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: users-help_at_subversion.tigris.orgReceived on 2008-09-25 19:12:40 CEST |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.