creating a process and execv* sys calls - newbie

From: john (qwejohn_at_hotmail.com)
Date: 04/28/04


Date: 28 Apr 2004 14:04:51 -0700

Hello,

You compile a program in "C" on linux using gcc and create an executable named
"test" for example.
Now you run
./test
to create a process running your app.

my question :
is running ./test eventually reaches one of the execv* system calls
to create a process ?

if so - should the pid of the parent be the pid
of the shell since it created that process?

If so - if anybody knows which of the execv* methods is called
I'll be thankful.

regards,
Q. John



Relevant Pages

  • Re: Force a process to end, no matter what???
    ... 2004 Windows MVP "Winny" Award ... The process with PID 3088 child of PID 1072 has been> terminated. ... > "Noozer" wrote in message ... I can't reboot>> because I have a two hour process running that's only half done. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Force a process to end, no matter what???
    ... 2004 Windows MVP "Winny" Award ... The process with PID 3088 child of PID 1072 has been> terminated. ... > "Noozer" wrote in message ... I can't reboot>> because I have a two hour process running that's only half done. ...
    (microsoft.public.windowsxp.general)
  • Re: [SLE] find pid
    ... Subject: find pid ... Use ps auxww | grep to find any process running under ...
    (SuSE)
  • Re: Why PID although we have process descriptor pointer...
    ... > of total 4GB process space, it can have almost 100,000 process running ... > running, busying their respective PID. ... So now how come kernel will be ...
    (comp.os.linux.development.system)
  • Re: Notify on process completion
    ... On 2004-09-06, Dave Brown wrote: ... I have a process running, for which I know its PID. ... I suppose I could write a shell script ...
    (comp.os.linux.misc)