www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marian Cicel <mar...@cicel.sk>
Subject mod_cgi/1656: Expect as a CGI script does not work
Date Mon, 12 Jan 1998 14:58:28 GMT

>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:     marian@cicel.sk
>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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message