[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: Dominic Anello <danello_at_danky.com>
Date: 2006-08-22 16:32:04 CEST

On 2006-08-22 17:42:03 +0930, si wrote:
> >There is some equivalent on Win32, but I'm not a windows person so I
> >don't know the details.
>
> Unfortunately, that's the standard canned response,
> and no-one has come up with the details.
>
> I'm not having a go at you Garrett, its just that it's
> frustrating when that's the only answer we ever get :)

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:

The one L is not a typo.

> So, assuming Sven is on a windows box, here is a
> workaround for the problem:
> http://svn.haxx.se/users/archive-2006-07/0375.shtml
>
> peace
> si

  • application/pgp-signature attachment: stored
Received on Tue Aug 22 16:35:12 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.