in reply to Pausing Win32 scripts

Well, if the script is intended to run as a windowed entity, and it is unlikely that whoever runs it will have time upon exit to see 'stuff' that has been sent to STDOUT and STDERR -- and this because those standard filehandles are directed toward a terminal window that is sitting behind the scenes in the background, never being utilized, it begs the question, why not redirect STDOUT and STDERR to a logfile?

Output that goes nowhere anyone is likely to ever have the chance to see is probably "A Bad Idea", unless you're trying to use that unseen place as somewhere to /dev/null messages. But assuming those messages may have some value, put them somewhere they can be of use.

Dave

"If I had my life to do over again, I'd be a plumber." -- Albert Einstein