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

Re: Waiting for background jobs in hook scripts

From: si <sshnug.si_at_gmail.com>
Date: 2006-08-24 15:29:54 CEST

> The cmd.exe shell on Windows 2000 and XP respects many of the historical
> UNIX sh operations, although the syntax is often slightly different. On
> Windows, the null device is represented as a serial port, much like
> COM1:, LPT1:, etc. It also respects the standard file handle numbers
> and redirection, so the following should swallow all output from
> command:
>
> C:\>command 1>NUL: 2>NUL:

Thanks for the reply Dominic, have you tried that when applying
to a spawned process? My understanding is you still need the
post-commit hook to spawn a process. Pre 1.3.1 this worked

start /b <process>

Post 1.3.1 it doesn't. Amongst others, i've tried

start /b 1>NUL: 2>NUL: <process>
start /b <process> 1>NUL: 2>NUL:
start /b 1>NUL: 2>NUL: <process> 1>NUL: 2>NUL:

Also tried cmd instead of start, but still no joy.

The workaround I hacked together does the job,
but it would be better to have a proper resolution.

peace
si

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 24 15:33:39 2006

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.