Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

executing a shell script from within a cgi script 1

Status
Not open for further replies.

richy00

MIS
Nov 13, 2000
21
US
I would like to run a Shell Script from within one of My Perl Scripts. Say I wanted to run the shell script “go.sh” how would I execute it from within my Perl Script, or what would the syntax be to kick it off? Preferably from within the Korn Shell.
 
Perl knows several ways to execute programs as well as scripts. Try system() or exec(), the syntax can be revealed via 'perldoc -f system'.
Btw perl-questions are answered more quickly in the perl-forum... regards
chenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top