|Subject||Command task output to stdout and stderr|
I was wondering what happens to stdout and stderr when running automiae. I created a small file foo.bat just containing the lines:
echo hello sailor sleep 5
which does exactly what you expect from the command line. When I run the task from automize I see nothing in the window which appears, and the log says
Feb 21, 2005 5:31:24 PM Command - foo - No output detected in system.out or system.err
Thanks for using Automize.
2) The stdout is probably not too reliable on DOS. For example below is output for 2 scheduled runs for one of my tasks which launch a batch file (analog.bat) which in turn calls analog.exe to analyse Hiteksoftware.com web access statistics. In run 773, the start command from the batch file is seen in stdout, but in run 774, it is not seen.
Feb 5, 2005 5:01:06 AM Command - hitek_analog - Start Instance = 773 Feb 5, 2005 5:02:01 AM Command - hitek_analog - C:\Data\logs>start /w "test" "c:\analog 5.1\analog.exe" Feb 5, 2005 5:02:01 AM Command - hitek_analog - End Instance = 773 , Exit Code = 0 , Runtime (ms) = 54819 Feb 5, 2005 8:00:48 AM Command - hitek_analog - Start Instance = 774 Feb 5, 2005 8:01:03 AM Command - hitek_analog - No output detected in system.out or system.err Feb 5, 2005 8:01:03 AM Command - hitek_analog - End Instance = 774 , Exit Code = 0 , Runtime (ms) = 15092
-- Sincerely, Melvin Desilva Hitek Software