.rshexec defines the AIPS++ environment for a process invoked by rsh and then exec's the command with any specified arguments.