home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4815 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!wupost!uwm.edu!ux1.cso.uiuc.edu!news.cecer.army.mil!naam
  3. From: naam@cecer.army.mil (Ramez Naam)
  4. Subject: running background programs from startup scripts
  5. Message-ID: <naam.722289168@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: Fri, 20 Nov 1992 19:52:48 GMT
  9. Lines: 23
  10.  
  11.  
  12. Since noone in comp.unix.questions seems to know:
  13.  
  14. I'm having trouble forcing a c-shell script to be executed in the
  15. background from my .login.  Just enterring
  16.     myprogram_name &
  17. in the .login creates a self-spawning process.  Is there anyway to
  18. get around this?  Also, can anyone explain to me why this occurs?
  19.  
  20. On a related note, what's the easiest way to cause *any* shell script
  21. to execute another script in the background, and then terminate without
  22. waiting for its child process to exit?  Using
  23.     exec program &
  24. also creates a self-spawning process.  Any help on this at all would
  25. be appreciated.
  26.  
  27. --
  28. Ramez Naam
  29. naam@lorax.cecer.army.mil
  30.  
  31. --
  32. Ramez Naam
  33. naam@lorax.cecer.army.mil
  34.