SNDPIPE
Posted: Thu Mar 28, 2024 3:02 pm
I am trying to use the sndpipe to add additional unix commands The commands don't appear to run
Simple CL program
Opnpipe cmd('PATH=$PATH:/QOpenSys/pkgs/bin')
sndpipe rcd('curl -help')
rcvpipe rcd(&rec) eof(&eof)
but I am not getting any response
but if I use
Opnpipe cmd('PATH=$PATH:/QOpenSys/pkgs/bin; curl -help')
on the rcvpipe I get the curl help text
Any help would be much appreciated
Simple CL program
Opnpipe cmd('PATH=$PATH:/QOpenSys/pkgs/bin')
sndpipe rcd('curl -help')
rcvpipe rcd(&rec) eof(&eof)
but I am not getting any response
but if I use
Opnpipe cmd('PATH=$PATH:/QOpenSys/pkgs/bin; curl -help')
on the rcvpipe I get the curl help text
Any help would be much appreciated