M
martin
Hi , this question deals with a perl script that calls other perl
scripts using 'exec' or 'system' call.
I think it is a mute point and of no concern but I decided to ask just
to be sure.
Bascially I have something like this :
Calling script file --->
#!/usr/bin/perl
.....
.....
.....
my $cdpat2 = 'C:\Program Files';
my $cdpat1 = 'C:\DIR1
my $cdpat3 = 'C:\DIR2\STUFF\bin';
exec ("CalledScript1.pl $cdpath1 $cdpath2 $cdpath3");
exec ("CalledScript2.pl $cdpath1 $cdpath2 $cdpath3");
The question I have is that, do I need to worry about the completion of
the first script, i.e. Called Scriopts1.pl before I involve the
CalledScript2.pl. I don't think this should be of a concern, but I
thought to ask since the first call could take a long while to process
and the second one relies on the completion of the first one. Thanks.
Martin
scripts using 'exec' or 'system' call.
I think it is a mute point and of no concern but I decided to ask just
to be sure.
Bascially I have something like this :
Calling script file --->
#!/usr/bin/perl
.....
.....
.....
my $cdpat2 = 'C:\Program Files';
my $cdpat1 = 'C:\DIR1
my $cdpat3 = 'C:\DIR2\STUFF\bin';
exec ("CalledScript1.pl $cdpath1 $cdpath2 $cdpath3");
exec ("CalledScript2.pl $cdpath1 $cdpath2 $cdpath3");
The question I have is that, do I need to worry about the completion of
the first script, i.e. Called Scriopts1.pl before I involve the
CalledScript2.pl. I don't think this should be of a concern, but I
thought to ask since the first call could take a long while to process
and the second one relies on the completion of the first one. Thanks.
Martin