Am attempting to execute an ls -al
from within a Universe basic program and it isn't working as expected.
EXECUTE 'sh'
EXECUTE 'ls -al | grep FILELIST'
The program is shelling out to Linux, but then stops prior to execution of the ls
command. Anyone have any ideas of how to get around this one?
you can try this code:
COMANDA = "ls -al | grep FILELIST"
EXECUTE "sh -c '":COMANDA:"'" CAPTURING DADES
CRT DADES
it work at SunOS.