[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
catching messages of the command prompt
From: |
address@hidden |
Subject: |
catching messages of the command prompt |
Date: |
Tue, 12 Aug 2008 07:26:00 +0000 (GMT) |
hi all
As befor recommended, I tried to catch messages of the command prompt
with the diary command.
But it doesn't work on the way I like.
I describe what I'm doing:
# part one
diary log_test1 # as example
...
...
diary off # untill here, everything works fine
fid = fopen("log_test1","r");
...
...
...
fclose(fid) # everything ok till here
# part two
diary log_test2 # ERROR: diary can't open log_test2
why this error, if I run only the second part, it works!
If I run only the first part, it works too, but not if I run
both parts together.
Thanks for any help
Michael
- catching messages of the command prompt,
address@hidden <=