> I need to run an ant script after a commit, so I used a > post-commit script for that. However, even if I put the ant > call into the background and redirect stdout and stderr, it > still returns only after the ant call is done. I found an old > discussion about this > (http://svn.haxx.se/dev/archive-2006-01/0375.shtml), is there > still no workaround or fix? > This is the relevant part of the script (commenting it out > fastens it): > > ant all -f MDM-Leitfaden/ant_scripts/mdm-leitfaden.xml > > /tmp/dita.log 2>&1 >
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 & G Linedata Services (UK) Ltd Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB Registered in England and Wales No 3027851 VAT Reg No 778499447