[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Request: Let me combine STDERR and STDOUT intoonefile



On 7/6/07, Ian Chesal <ICHESAL@xxxxxxxxxx> wrote:
> * If vanilla AND you are running on Linux, make the script
>   write all stderr and stdout to, say, stdout.
>   For instance for bourne shell:
>   program 2>&1

This is Windows vanilla stuff unfortunately. I did try and bunch of
redirect options but nothing got it all to stdout.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true

2&>1 should work on windows (at least from XP onwards, probably from
win2000). Try making your submit command:

2>&1 whateveryouwouldnormallyuse

Matt