>Number: 1656 >Category: mod_cgi >Synopsis: Expect as a CGI script does not work >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 12 07:00:00 PST 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.2.1 >Environment: Linux alice 2.0.27 #2 Tue Jul 8 12:41:43 MET DST 1997 i586 >Description: I'm trying to use Expect as a CGI script: #!/usr/local/bin/expect puts "Content-type: text/HTML\n" spawn /bin/telnet xxx ...
It can't get trough "spawn". It creates two processes for pseudoterminal and stands there. Script works fine when run under "nobody" user. >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
