home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / misc / 158 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.2 KB

  1. Xref: sparky comp.sys.sgi.misc:158 comp.sys.sgi.apps:26 comp.sys.sgi:18501
  2. Path: sparky!uunet!olivea!sgigate!sgi!fido!warp!kipp
  3. From: kipp@warp.asd.sgi.com (Kipp Hickman)
  4. Newsgroups: comp.sys.sgi.misc,comp.sys.sgi.apps,comp.sys.sgi
  5. Subject: Re: strange problem with command execution at xwsh startup
  6. Message-ID: <1icv27INN6f2@fido.asd.sgi.com>
  7. Date: 5 Jan 93 21:37:11 GMT
  8. References: <1ictqqINNk4a@tamsun.tamu.edu>
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 19
  11. NNTP-Posting-Host: warp.asd.sgi.com
  12.  
  13.  
  14. In article <1ictqqINNk4a@tamsun.tamu.edu>, vamsee@abgen.tamu.edu writes:
  15. > %xwsh -e rlogin <any-host>
  16. > The above command works on this SGI (Indigo 4.0.5A). But,
  17. > %xwsh -e /bin/ls
  18. This will work, it just exit's immediately after finishing.  Try adding
  19. the "-hold" option if you want wsh to hang around after finishing monitoring
  20. the subprocess.
  21. > %xwsh -e cd /usr/people/vamsee/junk
  22. > %xwsh -e chdir /usr/people/vamsee/junk
  23. > %xwsh -e cd /usr/people/vamsee/junk; vi <somefile>
  24. These will never work because there is no such program called "cd".  When
  25. you give xwsh the "-e" option you are changing its notion of the shell to
  26. use to a specific program.  The arguments you give are just exec'd, not
  27. run through another shell.
  28.  
  29.                     kipp
  30.