redirecting stdin
Posted in 1999
Christophe MAUMONT — — source: Informix-list mailing list archive (1991-1998)
Hello, Is it possible, if yes how, to pipe the result of a shell command to the entry of the program who has run the shell ? Something like : INPUT ARRAY t FROM s.* ON KEY(F8) RUN("ls > stdin") # To file the array "t " with the result of the command ls END INPUT I know that i can do RUN "ls > /tmp/ls.unl" and load from /tmp/ls.unl ... but I would prefere the first one. There's a solution with a C function with freopen, link to the runner, but it isn't pur 4GL and I don't have C compiler everywhere. (INFORMIX 4GL RDS 7.20.UD6 AIX 4.3.1) Thanks.