Complete.Org: Mailing Lists: Archives: linux-help: November 2000:
[linux-help] Re: Help on CHILD PROCESS

[linux-help] Re: Help on CHILD PROCESS

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: Help on CHILD PROCESS
From: Steven Saner <ssaner@xxxxxxxxxxxxxxx>
Date: Wed, 22 Nov 2000 10:05:26 -0600
Reply-to: linux-help@xxxxxxxxx

The answer depends on what you are asking about. If you are looking at
a shell prompt and enter a command that starts some program, the
process that you started is a child of your shell process. If you want
to start several child processes you can follow the command with a &,
which will start the child process but return control back to your
shell so you can start other processes.

If you are writing a program and you want to have it spawn a child,
then the fork function is probably what you want. Also look at the
wait functions.

Other than that, a program that you might be running may or may not
start child processes depending on how it is written. If a program is
not written to start a child process, then there really isn't anything
you can to to make it spawn a child process. There really isn't any
reason too.

A more detailed question might help us formulate a better answer.

On Wed, Nov 22, 2000 at 08:14:43AM -0700, Keltner, Gene wrote:
> You have helped me recently and I have another problem as a new Linux user.
> How do you start a CHILD PROCESS of another process?
> Gene Keltner
> Kansas Farm Bureau Services
> 785-587-6342 or 785-587-6989 (FAX)
> 785-587-3731 Pager
> 785-564-0142 Cellular
> ghkeltner@xxxxxxxx
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,

[Prev in Thread] Current Thread [Next in Thread]