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

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=fork();

threads

2001-05-25 Thread Ulises Vega
hello, i did the following in a script in accordance to perlthrtut to find out the posibility to use threads and the answer was "We do not have threads" #!/usr/bin/perl use Config; if($Config{usethreads}){ print "We have threads\n"; }else{ print "We do not have threads\n"; } the