home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / shell / 5351 < prev    next >
Encoding:
Text File  |  1993-01-12  |  848 b   |  34 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!schwager
  3. From: schwager@mike.cs.uiuc.edu (Mike Schwager)
  4. Subject: Re: Exiting ksh with a running job
  5. Message-ID: <C0rwJu.7GA@cs.uiuc.edu>
  6. Sender: news@cs.uiuc.edu
  7. Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
  8. References: <C0rqtK.ru@cs.uiuc.edu>
  9. Date: Wed, 13 Jan 1993 03:33:30 GMT
  10. Lines: 22
  11.  
  12. schwager@mike.cs.uiuc.edu (Mike Schwager) writes:
  13.  
  14.  
  15. >Howdy,
  16. >Quick question:  why won't ksh let me exit if I have a job running thusly:
  17.  
  18. >     command > /dev/null 2>1 &
  19.  
  20. >I should say, I can exit but it will kill the job!  Can I get ksh to be
  21. >more kind?
  22. >Thanks
  23. >-Mike
  24.  
  25. Thanks for the lightning quick responses!  Got my answer:
  26.  
  27.      nohup command &
  28.  
  29. or in this case,
  30.  
  31.      nohup command > /dev/null 2>1 &
  32.  
  33. -Mike
  34.