ibm mainframe C++, Rsh help
if any1 can help i would very greatful,
i am creating a program, i want to run a command on a remote machine using rsh.
i can use popen to do this, but if the ip address is wrong it hangs 4ever. Not what i want.
so i have desided to use the fork and execl as this means that if rsh hangs i can time out.
but i cant get the rsh output to pipe back, i am expecting the commands from the remote batch file i am running to be to be outputed. Rsh works because i have it create 2 file so i know it has worked, but no output.
using popen i do get output but i dont want it 2 be able 2 hang 4ever.
Thx 4 all ur help
|All times are GMT +5.5. The time now is 02:05.|