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

Re: How to run post-commit as a backgorund process??

From: Olivier Sannier <obones_at_free.fr>
Date: Thu, 7 Jan 2010 11:35:50 +0100

Shalinda Adikari wrote:
> While going through some of the forums, I found following command to do the task.
> $SVNSYNC synchronize URL_TO_MIRROR_REPO --username=svnsync --password=svnsyncpassword>/dev/null 2>/dev/null&
>
> But this solution is rather different to yours one. As you mention in your reply what is the use of having two "&" instead of one"&"??
>
Not it's not, Didier's solution avoids typing /dev/nul twice.
Basically, the first "&" applies to the 1 and says redirect output
number 2 on output number 1.
The second & is there to tell the shell to start the command in the
background and not wait for it.
Received on 2010-01-07 11:36:24 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.