perlTk, using fork

2001-08-29 Thread Thomas_P_Murnane
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

RE: using fork

2001-06-04 Thread Peter Cornelius
> 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

Re: using fork

2001-06-04 Thread Ulises Vega
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

RE: using fork

2001-06-04 Thread Peter Cornelius
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: &

Re: using fork

2001-06-04 Thread iansmith
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

using fork

2001-06-04 Thread Ulises Vega
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