Hey everyone,
I have an exe that runs fine when outputing to the command window but
if i redirect the output (with something like > log.txt 2>&1) it
always crashes. A windows box pops up with some memory error.
I thought 2>&1 shud redirect stderr to the output file but the error
doesnt appear in the output file.
How do i get the error to redirect to the output file and not pop up
(this is so my scripts can run overnite and i can chk the errors in
the morning)?
Also is there anything weird that redirecting output does that may
affect my progams execution?
Cheers everyone,
Rob.