Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can Expect be run as a CGI script?

CGI expect run Script
0
Posted

Can Expect be run as a CGI script?

0

Expect FAQ (Frequently Asked Questions)Many Expect scripts can be run directly with one change – the following line should be inserted before any other output: puts “Content-type: text/html\n” Next, make sure you invoke external programs using full paths. For example, instead of “spawn telnet”, use “spawn /usr/ucb/telnet” (or whatever). Remember that the PATH and other environment variables are going to be different than what you are used to.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123