home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13462 < prev    next >
Encoding:
Text File  |  1992-11-15  |  936 b   |  24 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!europa.asd.contel.com!emory!wupost!uwm.edu!ux1.cso.uiuc.edu!news.cecer.army.mil!naam
  3. From: naam@cecer.army.mil (Ramez Naam)
  4. Subject: background exection from startup scripts
  5. Message-ID: <naam.721892888@lorax.cecer.army.mil>
  6. Sender: news@news.cecer.army.mil (Net.Noise owner)
  7. Organization: US Army Corps of Engineers Construction Engineering Research Labs
  8. Date: Mon, 16 Nov 1992 05:48:08 GMT
  9. Lines: 13
  10.  
  11. I'm having trouble forcing a c-shell script to be executed in the
  12. background from my .login.  Just enterring
  13.     myprogram_name &
  14. in the .login creates a self-spawning process.  Is there anyway to
  15. get around this?  Also, can anyone explain to me why this occurs?
  16.  
  17. On a related note, what's the easiest way to cause *any* shell script
  18. to execute another script in the background, and then terminate without
  19. waiting for its child process to exit?
  20.  
  21. --
  22. Ramez Naam
  23. naam@lorax.cecer.army.mil
  24.