Path: utzoo!attcan!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!bradley.bradley.edu!brad From: brad@bradley.bradley.edu (Bradley E. Smith) Newsgroups: comp.unix.shell Subject: Re: Remote shell question Message-ID: <1991Feb1.145242.16915@bradley.bradley.edu> Date: 1 Feb 91 14:52:42 GMT References: <1991Feb1.125425.14866@cbnews.att.com> Distribution: na Organization: Bradley University Lines: 20 In <1991Feb1.125425.14866@cbnews.att.com> smk@cbnews.cb.att.com (Stephen M. Kennedy) 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. #include main() { int i; for (i=0;i<20;i++) { close(i); } i = fork(); if(i) exit(0); execl("/usr/openwin/demo/xterm","bradley", "-ls", "-sb", "-fn","9x15", 0); }