Sorry, I haven't been following this thread.

You can't have any idea where the tclsh.exe lives,
unless it's in you're PATH or (on Windows) in the
registry.  You can't even know the name (is it
tclsh.exe or tclsh83.exe?), maybe a global variable
or some sort of config file for your script can
help with that.

You can't really use "info nameofexecutable" to
launch a script using tclsh, if you're running
in a Java process through TclBlend.

-- Scott

> -----Original Message-----
> From: Mo DeJong [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 29, 2000 7:25 PM
> To: [EMAIL PROTECTED]
> Subject: [Tcl Java] RE: A Tcl or TclBlend problem?
>
>
> > > So add it. Would something like this work? I am not sure where
> > > you would get the executable name, perhaps you can just use "java".
> >
> > Well that is the problem.  The executable is "java", which does not help
> > because your Tcl lib is not in the jre distribution.
>
> I guess I don't follow. Scott, do you know what is up with
> this function? How and Why would I know where the Tcl executable
> lives? Heck, there might not even be a Tcl executable. I might
> only have the Tcl and Tcl Blend .dlls installed.
>

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to