27;ve read several
examples of using fork but can't seem to figure out how to use it in the
context that I want! The reason I am using the fork is so I can have access
to the window and be able to check the status of the job, i.e. which step
I'm at or how many jobs have completed. Any i
> I can't use system because , a nested command in my program is not
> allowed, so i try the fork.
> I try with waitpid($pid, ) but i didn't know how to tell
> the waitpid
> that waits for the child and don't continue
>
> waitpid($pid,&WNOHANG) > continues execution without
> waiting f
Thanks for your help.
I can't use system because , a nested command in my program is not
allowed, so i try the fork.
I try with waitpid($pid, ) but i didn't know how to tell the waitpid
that waits for the child and don't continue
waitpid($pid,&WNOHANG) > continues execution without waiti
04, 2001 12:07 PM
> To: [EMAIL PROTECTED]
> Subject: using fork
>
>
> Hello everybody,
>
> I'm using fork with a simple application, and it looks like if the
> father process continues executing without waiting his child, the
> following is the code that i use:
&
On Mon, 4 Jun 2001, Ulises Vega wrote:
> I'm using fork with a simple application, and it looks like if the
> father process continues executing without waiting his child, the
> following is the code that i use:
Seems like you want to use the system command instead.
syste
Hello everybody,
I'm using fork with a simple application, and it looks like if the
father process continues executing without waiting his child, the
following is the code that i use:
my $redirected=1;
my $pid