|
Title: | Eloquence does not work in background |
Document: | gen_043 |
Keywords: | wait,sleep,background,forground,stdin,external device |
Eloquence does not work in background
This probably related to the WAIT statement which behaves
differently in background (stdin not connected to a tty device).
This is used to provide batch input to Eloquence programs
("PERFORM files").
In background, a WAIT statement which specifies a delay is simply
ignored and an unconditional WAIT results in reading the next line
from stdin. When an EOF is encountered, the program is terminated.
If this is not the desired behaviour (eg. the program is crontroling
data capture devices) you can replace the WAIT statement by the
SLEEP statement. The SLEEP statement behaves the same in
background and foreground mode.
Please refer to
Eloquence reference manual
for more information.
|
|