Killing a background process from a C program
Larry Marshall
larrym at pi19.pnfi.forestry.ca
Fri Jul 20 21:20:13 AEST 1990
marwood at 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
More information about the Comp.unix.questions
mailing list