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