[comp.unix.questions] problem with RSH

dekel-elan@CS.Yale.EDU (Elan Dekel) (07/18/90)

I am using rsh, in a C routine, to remotely execute a program on
another machine. When the routine is compiled to run as a standalone
program, it works fine. However when the routine is incorporated into
a program that is run by RPC, rsh doesn't seem to work. No error
message is returned, but the program on the remote machine is not
executed.

I am using full pathnames for the rsh command and the program to be
remotely executed.

I would really appreciate any clues as to what is going on.

Thanks,

   Elan

+----------------+----------------------------------------------------------+
|  Elan Dekel    | bitnet: dekel@yalecs.bitnet      uucp:    ...!yale!dekel |
|                | internet: dekel@cs.yale.edu  voicenet: +1 203 432-1260   |
+----------------+----------------------------------------------------------+