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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run ksh script from within CGI

Status
Not open for further replies.

danhodges99

IS-IT--Management
Feb 6, 2003
21
GB
Howdy,

I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere!

Thanks.
 
You can call ksh script using back ticks and capture the output.

$output = `/usr/bin/kshscript -args`;


haunter@battlestrata.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top