Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!mimsy!chris From: chris@mimsy.umd.edu (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: What is a process group Message-ID: <20280@mimsy.umd.edu> Date: 19 Oct 89 22:23:12 GMT References: <1158@msa3b.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 25 In article <1158@msa3b.UUCP> kevin@msa3b.UUCP (Kevin P. Kleinfelter) writes: >What is a process group? The short answer is `something you should not use unless you know what it is' :-) >I know the following things: > > You can make a process the process group leader via setpgrp(); > (with some versions of UNIX) (SysV) > You can send a signal to all members of a process group Tty signals go to process groups. If you want to avoid tty signals you need to be in a different group, and/or not connected to the tty, and/or simply ignore the signals (a la `nohup'). The rest of the situation is system-dependent, so that the question cannot be answered without knowledge as to the specific Unix variant. -- `They were supposed to be green.' In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@cs.umd.edu Path: uunet!mimsy!chris