I tried placing the entire rsh line in parentheses and following it with the '&', but I'm getting the same result. Although I don't have that BUGS section in my man page, the -n option is listed, but it doesn't seem to behave as expected. When I specify -n, I always get output to stdout. I might shoot this question over to some scripting mailing lists. Thanks for all your help.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todd Denniston Sent: Tuesday, May 24, 2005 2:56 PM To: Buorn, Yoway Subject: Re: CVS Trigger for CruiseControl Configuration "Buorn, Yoway" wrote: > > Good call on removing eval. I originally mistakenly assumed that eval > was necessary to get ${REMCMD} expanded on the local machine > (${REMCMD} would be meaningless on the remote machine), but all I had > to do was remove the single quotes from ${REMCMD}. Now my script is a > bit cleaner, however, CVS commit is still waiting for Maven to > complete. I now have the '&' after the rsh line (without eval). just checked a local script we have ... I think may be the remote command is eating the &. you might try rsh -l cruise -n db2.rd.ideas.gd-ais.com \"${REMCMD}\" & or (rsh -l cruise -n db2.rd.ideas.gd-ais.com ${REMCMD} ) & > > There isn't any BUGS section in the rsh man page (Solaris 8). Any > further suggestions would be appreciated. the BUGS section I have: If you are using csh(1) and put a rsh in the background without redirect- ing its input away from the terminal, it will block even if no reads are posted by the remote command. If no input is desired you should redirect the input of rsh to /dev/null using the -n option. BTW: probably better to stay on the list, there are others out there who may the answers better than I. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter _______________________________________________ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs