Operating System - HP-UX
1753618 Members
5738 Online
108797 Solutions
New Discussion

Re: script problem (rexec/remsh in loop)

 
Riccardo_Marini
Regular Visitor

Re: script problem

Your problem seems an "exit" gived by "rexec" directly on the ksh process

 

You should try to replace every line of rexec with this:

rc=`rexec    etc etc.. `

 

In this way "rexec" will be executed by another process

 

Best Regards

Dennis Handly
Acclaimed Contributor

Re: script problem (rexec/remsh in loop)

>You need to trace the script's actions since you didn't supply any messages that come from the script. ...

>Your problem seems an "exit" given by "rexec" directly on the ksh process ...

 

You guys didn't believe me when I said the problem was with missing -n? ;-)

That's the whole reason I replied to this old thread, nobody explicitly mention why -n would fix it.