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

Re: hook-script doesn't run in background

From: Lars Oeschey <oeschey_at_gmail.com>
Date: Wed, 21 Apr 2010 11:34:09 +0200

2010/4/21 Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>:

> It looks like your post-commit hooks is a ksh, so have you tried adding & at the end? Like
>
> ant all -f MDM-Leitfaden/ant_scripts/mdm-leitfaden.xml > /tmp/dita.log 2>&1 &

great! though my fist line is #!/bin/bash, but of course I forgot that
additional "&" for putting it into background. First I had only the &
in the end for background, but obviously stderr/stdout were kept open
then. So redirecting stderr/stdout AND putting it into the background
works

thanks, Lars
Received on 2010-04-21 11:34:43 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.