[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hook executables in Windows

From: Brian Mathis <bmathis_at_directedge.com>
Date: 2003-11-25 22:22:02 CET

Perl on Windows should be able to handle both of these. To send mail,
you can use the Net::SMTP module, or there's probably a simpler module
out there too.

For capturing output, you should be able to pipe it in to something, or
else in perl:
        $output = `svnlook ...`;

Rob Segal wrote:
> Has anyone actually created a post-commit hook on Windows that emails info
> about the repository (using the svnlook executable) to a list of email
> addresses? If so would you be willing to share your solution?
>
> A few of the problems I'm having trouble solving is there is no equivalent
> "sendmail" program on Windows like Unix has. The second problem is if you
> run svnlook from an executable how do you capture the output from that
> command to include as your email message text?
>

-- 
Brian Mathis
http://directedge.com/b/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 25 22:25:23 2003

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.