| Store | Cart

Re: [Activetcl] Run multiple mult_1_run.tcl

From: Abhishek Tiwari <abhi...@aurea.com>
Thu, 4 Feb 2016 19:06:31 +0530
Hi
I have made the below running.
But seems the activestate is not covering the codes of :mult_1_run.tcl and
any tcl file sourced inside these :mult_1_run.tcl
If this is expected wrt the activestate, could you please let me know why
its happening
Regards.
Abhishek

On Thu, Feb 4, 2016 at 2:22 PM, Abhishek Tiwari <abhi...@aurea.com>
wrote:

> Hi,>> I am facing another problem> My script looks like this :> ----------------> #!/bin/sh> # the next line restarts using tclsh \> exec tclsh "$0" "$@">> interp create container> interp eval container {>    source> c:/DEV/listmanager.LM110dev/qa/Profiling.CreateDlvrDashData.withmf.withsitemap/mult_1_run.tcl> }> interp delete container>> interp create container> interp eval container {>    source> c:/DEV/listmanager.LM110dev/qa/Profiling.CreateDKIMdata.withmf.withsitemap/mult_1_run.tcl> }> interp delete container> -------------------------> But  its giving me this error :> can't read "argv": no such variable at these lines  :> interp eval container>> Please suggest the solution> Regards> Abhishek>> On Tue, Jan 26, 2016 at 8:50 PM, Abhishek Tiwari <> abhi...@aurea.com> wrote:>>> Hi,>>>> If I have different Profiling projects, Can I run their mult_1_run.tcl's>> but sourcing them one after the other in one tcl(A.tcl) script and then run>> that A.tcl from the activestate?>>>> source C:/b/mult_1_run.tcl>> source C:/d/mult_1_run.tcl>>>> Do you think something like this will work, since I might have to>> unsource a sourced file.>> interp create container>> interp eval container {>>    source myfoo.tcl>> }>> interp delete container>>>> But its not working this way yet and giving errors>> This is in atttempt to automate the various profiling projects.>>>> Regards>> Abhishek>>>>

_______________________________________________
ActiveTcl mailing list
Acti...@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Recent Messages in this Thread
Abhishek Tiwari Jan 26, 2016 03:20 pm
Abhishek Tiwari Feb 04, 2016 08:28 am
Abhishek Tiwari Feb 04, 2016 08:52 am
Abhishek Tiwari Feb 04, 2016 01:36 pm
Messages in this thread