I think that we are going for a most complicated solution.

I my scripting I usually create a shell script that calls my commands
after doing some setups. (I have not done experimentation with
gretlcli, but in general)

In your case, I would create a shell script, say gretl_caller.sh, containing:
# Setup required environment vars
HOME=/tmp
export HOME
# Call gretlcli with eventual arguments (assuming path for gretlcli)
/usr/local/bin/gretlcli $*

So instead Apache call gretlcli, it would call gretl_caller.sh.

What you think about this solution?

Hélio


On Wed, Jan 30, 2013 at 9:07 PM, Allin Cottrell <cottrell(a)wfu.edu> wrote:
> On Wed, 30 Jan 2013, Ryan Dagey wrote:

> I'll experiment with running gretlcli under Apache myself and
> see what we can come up with in terms of making this easier.
>

Reply via email to