|
|
Hi frnds,
I have a perl script which internall calls a utiltity to execute in server.Now i need to check if the utility has succesffuly run how do i do this
Please help me on this asap.
Regards
|
|
|
|
I have a perl script which internall calls a utiltity to execute in server.Now i need to check if the utility has succesffuly run how do i do this
==> if you are using system() function to run particular utility internally from your perl script for e.g like
#!/usr/bin/perl -w
$utility="./utility.pl"; (yor utility program)
system($utility);
print "process Status is:$?";
#if script is executed successfully then $? variable contain 0 value.
let me know your comments.
|
|
|
|
I have a perl script which internall calls a utiltity to execute in server.Now i need to check if the utility has succesffuly run how do i do this
==> if you are using system() function to run particular utility internally from your perl script for e.g like
#!/usr/bin/perl -w
$utility="./utility.pl"; (yor utility program)
system($utility);
print "process Status is:$?";
#if script is executed successfully then $? variable contain 0 value.
let me know your comments.
|
|
|
|
I have a perl script which internall calls a utiltity to execute in server.Now i need to check if the utility has succesffuly run how do i do this
==> if you are using system() function to run particular utility internally from your perl script for e.g like
#!/usr/bin/perl -w
$utility="./utility.pl"; (yor utility program)
system($utility);
print "process Status is:$?";
#if script is executed successfully then $? variable contain 0 value.
let me know your comments.
|
|
|
|
I have a perl script which internall calls a utiltity to execute in server.Now i need to check if the utility has succesffuly run how do i do this
==> if you are using system() function to run particular utility internally from your perl script for e.g like
#!/usr/bin/perl -w
$utility="./utility.pl"; (yor utility program)
system($utility);
print "process Status is:$?";
#if script is executed successfully then $? variable contain 0 value.
let me know your comments.
|
|
|