Xref: utzoo comp.lang.c:30415 comp.unix.questions:23904 Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!ists!pi19!larrym From: larrym@pi19.pnfi.forestry.ca (Larry Marshall) Newsgroups: comp.lang.c,comp.unix.questions Subject: Re: Killing a background process from a C program Message-ID: <1029@pi19.pnfi.forestry.ca> Date: 20 Jul 90 11:20:13 GMT References: <1990Jul19.151728.17448@ncs.dnd.ca> Organization: Forestry Canada, Chalk River, Ont. Lines: 13 marwood@ncs.dnd.ca (Gordon Marwood) writes: >What I would like to do is start a background process at one point in the >C program, and at a later time kill it. Currently I am invoking the >background process with system("background_process &");, but none of the >texts that I have available help me to proceed any further. The latest Computer Language (July) has an article on manipulating Unix processes in C. It discusses the monitoring of PIDs and includes code for terminating those processes. Larry Marshall Petawawa National Forestry Institute