Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnews!smk From: smk@cbnews.att.com (Stephen M. Kennedy) Newsgroups: comp.unix.shell Subject: Re: Remote shell question Message-ID: <1991Feb1.170808.24481@cbnews.att.com> Date: 1 Feb 91 17:08:08 GMT References: <1991Feb1.125425.14866@cbnews.att.com> <1991Feb1.145242.16915@bradley.bradley.edu> Distribution: na Organization: AT&T Bell Laboratories Lines: 21 Looks like you went to the right college :-) brad@bradley.bradley.edu (Bradley E. Smith) writes: >>I want to start up a process in the background on a remote machine using >>remsh (sysV) or rsh (bsd), e.g., > >> remsh/rsh remote-host 'sleep 30 > /dev/null 2>&1 &' >I had this same problem...what I did was to use a 'C' program below. Bingo! This is the shell solution to my particular problem remsh/rsh remote-host 'sleep 30 <&- >&- 2>&- 7>&- &' The offending fd #7 showed up in a "/etc/pstat -u pid-of-sleep-process" in the file section. Thank you, thank you, thank you! Steve Kennedy smk@cbosgd.att.com att!cbosgd!smk