[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to use 'tcl' as SHELL?
From: |
Paul Smith |
Subject: |
Re: how to use 'tcl' as SHELL? |
Date: |
Mon, 21 Jul 2008 12:33:21 -0400 |
On Mon, 2008-07-21 at 13:14 -0300, Rodrigo Canellas wrote:
> Does anyone know how can I do it?
Make will invoke subcommands as "$(SHELL) -c <commandstring>"
You can only use commands for SHELL that conform to this invocation
model: all shells, plus things like ssh etc., do. Tclsh, apparently,
doesn't... it's trying to read commands from stdin. Check the tclsh
docs to see how to invoke it to run a command given on the command line.
You will need to write a script that takes arguments in the form make
wants to give them, and invokes tclsh in the form that it wants to
receive them.