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

Re: STDOUT and Hook Scripts

From: Stein Somers <ssomers_at_opnet.com>
Date: Thu, 11 Mar 2010 19:56:36 +0100

The post-commit hook starts a single process, and eats its STDOUT.

But you can make that single process into whatever you want. If you hook
script is for instance:

#!/bin/sh
perl watch-file.pl | perl notify.pl

then your hook consists of a shell process and two perl processors
working together. SVN doesn't know anything about the STDOUT produced by
watch-file.pl. It still eats the STDOUT that notify.pl produces -
someone has to. The commit is finished when notify.pl is done (more or
less).

--
Stein
Received on 2010-03-11 19:58:38 CET

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.