strange problem



Hi all
I have a strange problem and frankly I don't know what to do with it.
I have a program in expect more or less in half of it I have that
situation:
I use 2 spawn_id
1) make loop by using foreach becouse I want to use string as file's
name
in it I put command to send this file
2) in the second spawn I wait for this file by reading log's file
and this is a problem:
all files goes ok but log contain another info which I have to read
first before I will read info that file arrived. Fany is that log i ok
time of this info and my file is in right order. But mu expect (I don't
know why) to ignore this first info and report that file arrive. When I
look at buffer I see that this info is there. So ?!

I don't know maybe is possibility to establish priority of different
possibility of expect?

Sincerely Sebastian

.



Relevant Pages

  • cannot read CD drive but can write
    ... I have strange problem - I just burnt a CD. ... Can one help fix this issue? ... Thanks for reading my query. ...
    (microsoft.public.development.device.drivers)
  • Outlook 2000 question
    ... I have a friend using Outlook 2000 in a Windows environment (not sure which ... He has a strange problem -- reading and sending new e-mail is no ...
    (microsoft.public.outlook)