From egreev.cl4@compapp.dcu.ie Tue Jul 17 10:39:52 2001
Received: from mailhost.compapp.dcu.ie (Mailhost.CompApp.DCU.IE [136.206.11.247])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f6H8dpX01025
	for <prolog@swi.psy.uva.nl>; Tue, 17 Jul 2001 10:39:52 +0200 (MET DST)
Received: from L101-169 ([136.206.19.159])
	by mailhost.compapp.dcu.ie (8.9.3+Sun/8.8.6) with SMTP id JAA05959
	for <prolog@swi.psy.uva.nl>; Tue, 17 Jul 2001 09:34:34 +0100 (BST)
Message-Id: <1.5.4.32.20010717083245.008c4c30@mailhost>
X-Sender: egreev.cl4@mailhost
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 17 Jul 2001 09:32:45 +0100
To: prolog@swi.psy.uva.nl
From: Edel Greevy <egreev.cl4@compapp.dcu.ie>
Subject: [SWIPL] calling sicstus prolog from cgi -PROBLEMS

Thanks in advance for the help! 
I am trying to call sicstus prolog from a cgi script. The cgi-scripts executes 
a prolog file, which in turn execute another that runs the prolog parser. 
This is the line in the script calling the prolog file. 
`/usr/local/bin/sicstus -l /users/guests/aclweb/patr/transpatr.pl`;

When I pre-run the file (perl filename) this line is executed. The necessary
files are executed and everything works hunky dory. But when I run it from
online nothing is excuted. Can anyone tell me why?? I thought it might have
something to do with the file permissions but I chmod-ed the ones I execute
to 711 and it made no difference. It's as if the script just ignores the
command calling prolog. 
Help much appreciated. 

Edel

