Re: cgi script fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 1 Jun 2008 13:52:19 +0530
"Jayakrishnan M" <jay.krishnanm@xxxxxxxxx> wrote:

> Hi,
> 
> I am using a shell script as a cgi script. I am trying to call an
> erlang beam file from the shell script for some processing.
> The problem is that the erlang code is not getting executed.
> The lines in the shell script which are above and below the call to
> erlang binary are working.

Are you sure it's not running but just failing to send the
output you expect?

What happens if you run within your script
erlang-prog | while read output
do
  echo "$output"
done

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux