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:
  Perl for Executing Shell Script  emoin at 03:09 on Monday, January 22, 2007
 

Hi,
I would like my perl program to execute a shell script and confirm the same by navigating to a new page. I would like the program to immediately navigate to the new page after executing the script but am not able to code it properly as the system waits for the script to be executed first and then navigates to the new page.
Kindly help.
moin.

  Re: Perl for Executing Shell Script  javabits at 22:57 on Tuesday, January 23, 2007
 

Oreilly has an article on process forking. There are of course inherent dangers of allowing processes to fork from an url being hit but this seems to be what you wanted to try and do.

http://www.oreilly.com/openbook/cgi/ch10_10.html

Basically execute your shell script in the child portion while in the parent you navigate to the new page.

semper fi...

  Re: Perl for Executing Shell Script  emoin at 09:28 on Wednesday, January 24, 2007
 

Good one Semper Fi....Thanks a ton








CodeToad Experts

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








Recent Forum Threads
•  Re: Files
•  Re: Manipulating large Images.
•  Re: Replacing Class definition comments in java files
•  Re: Multiplication Problem
•  Re: Overlaying frames
•  Re: Array and Threads
•  Re: Compiling JAVA code in .NET?
•  Re: Perl for Executing Shell Script
•  Re: .net


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-2007