Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Peter Miles — — source: Informix-list mailing list archive (1991-1998)
Does anyone know if there is any way of capturing the output
of a command run by the 4GL RUN command into an Informix 4GL
variable?
EG I want to say something like:
LET string=RUN "tail -1 /tmp/somefile"
The output I want to catch will always be only one line long.
I'm running i4gl version 4 (standard engine).
Comments and suggestions gratefully received!
Please Email me, as my newsfeed seems to be a bit shakey at
the moment.
Thank you!
-- Pete
--
Pete Miles uaa1006@dircon.co.uk
...uknet!dircon!uaa1006
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.