Re: can one invoke the tclkit embedded within a starpack?

"Andreas Kupries" <[email protected]> Wed, 28 Nov 2007 10:24:16 -0800
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>

> Assume that a person has managed to create a starpack, containing a
> merge of a tclkit and application T. Also assume that part of T
> embedded into the starpack is the code for a second, independant Tcl
> application - Y.
>
> Is there a way, from within application T, to make calls to the
> embedded tclkit  so that one would get results that were equivalant to
> saying
>
> exec tclkit Y y-args
>
>
> And no, this isn't MY design. Someone on another list was asking if
> they had to embed a second tclkit into the starpack to be able to do
> this...

Best I have would be to use

	exec [info nameofexecutable] ...

and use command line options to dispatch to either the regular application,
or to T, i.e.

	exec [info nameofexecutable] -use-T t-args...


--
	Andreas Kupries <[email protected]>
	Developer @ http://www.ActiveState.com
	Tel: +1 778-786-1122