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

Re: svn 1.3.0: post-commit hook waits even if tasks are backgrounded

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-01-13 23:56:45 CET

On Fri, Jan 13, 2006 at 10:43:28AM -0600, loren jan wilson wrote:
> we upgraded from subversion 1.1.4 to 1.3.0 yesterday, and i noticed
> that tasks from a post-commit hook can no longer run in the
> background.

This may be an unexpected side-effect of the work done in 1.3.0 to return
error output from post-commit hooks to the caller.

You should be able to get the old behaviour if you can arrange for the
called process to be completely divorced from the caller: I suspect some
combination of redirecting stdin, out, err; nohup; and the bash 'disown'
builtin would help here, though I'm not sure entirely how to achieve it.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 14 00:02:12 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.