codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Reg check after execution of utility from perl script  electroon at 05:48 on Monday, February 11, 2008
 

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

  Re: Reg check after execution of utility from perl script  amitbhosale at 08:24 on Wednesday, March 12, 2008
 

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.






  Re: Reg check after execution of utility from perl script  amitbhosale at 08:25 on Wednesday, March 12, 2008
 

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.






  Re: Reg check after execution of utility from perl script  amitbhosale at 08:26 on Wednesday, March 12, 2008
 

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.






  Re: Reg check after execution of utility from perl script  amitbhosale at 08:26 on Wednesday, March 12, 2008
 

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.













CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
• mkdirs
• Re: Web Development Project
• ** Site Hacked ** javascript inserted...
• Losing background/text color when converting HTML to PDF
• hidden div block when displayed, displays at an offset of 200px only in IE 6..
• help - sketch
• Re: Perl Script - File Handling.
• Open a file from website
• Re: to open 5 terminals from one and also execute different commands on each terminal


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008