in reply to Re: Re: Re: Re: Re: Re: Re: Passing function to a function using \&<function name> method
in thread Passing function to a function using \&<function name> method
What happens is that there are two processes running from the exec line and the kill will only kill of the parent of the two processes.if ($COMMANDLOG eq "yes"){ my $LOGTEXT=sprintf("\$%s\n",$cmd); log_list($LOGTEXT); $cmd=sprintf("%s >> %s",$cmd,$LOGNAME); } exec($cmd) or die "exec: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: Re: Re: Passing function to a function using \&<function name> method
by edan (Curate) on Mar 08, 2004 at 13:41 UTC | |
by Anonymous Monk on Mar 18, 2004 at 21:29 UTC | |
by rich_d_thomas (Sexton) on Apr 03, 2004 at 13:02 UTC |