Re: [tcljava-user] Can use Jacl in scripts that load shared librarys?
Brought to you by:
mdejong
From: Mo D. <md...@cy...> - 2001-05-15 03:08:33
|
On 14 May 2001, Tam Huynh wrote: > If i can't call tcl scripts that load share dll's in jacl than > i'm stuck with using the Runtime.getRuntime().exec call to > execute the script. Does anybody have an example or can > point to where i can this class is used to call a tcl script? > I'm just confuse on what to use to tell java that "source" > is a command in the tcl shell bc the error is "couldn't > read file "source": no such file or directory" whenever i > use 'source' as part of the cmd array. Well, my guess is that you want to source a file that is not in the current directory. Java exec() really sucks, you could not set the working directory until 1.3. Look at the Jacl impl of exec if you want to see how it is done for JDK 1.1. If you need to load native Tcl extensions, you could try Tcl Blend. Mo |