[darcs-devel] darcs patch: really suppress output in win32 exec

Nikolas Coukouma lists at atrus.org
Sat Dec 17 17:29:06 PST 2005


Will wrote:

>Juliusz Chroboczek <Juliusz.Chroboczek at pps.jussieu.fr> writes:
>
>  
>
>>>+exec c args "/dev/null" "/dev/null" =
>>>+  system $ c++" "++careful_unwords args++" > NUL 2>&1"
>>>      
>>>
>>I'm a little confused by this patch, but I'm by no means familiar with
>>Windows, so bear with me if I speak nonsense.
>>
>>I didn't realise that Windows shells support the ``>&'' notation.  Do
>>you know whether all versions do?  Can you confirm whether this breaks
>>Windows 2000 and Windows 9x?  If it does, do we care?
>>    
>>
>
>NT-based versions of Windows should support '>&', which includes
>Windows 2000.  I would guess that it doesn't work under Win9x, but
>have no way to test.
>
>Regards,
>Will
>
Redirecting standard error is available only in the NT-derivatives. 
Would just using "@echo off & (command)" work in this context?

http://www.robvanderwoude.com/redirection.html




More information about the darcs-devel mailing list