But it doesn't work. It is: >eval exec "wish8. Now I want to run this command from another TCL script using >"eval exec". >Sent: Friday, Octo1:44 PM >To: activeTcl >Subject: Running a tcl script from another script >Hi all, >I have a TCL script that can be run with: >wish8.5 scripts/run_job -postprocess "something" -local >it works fine and I see many messages in terminal that shows the progress of >run_job. >Sent: Friday, Octo2:45 PM >To: activeTcl >Subject: Re: Running a tcl script from another script >Hi, >I tried both methods: >if >instead for the outer ones. Have You run pure TCL? Then You should use update and/or vwait and/or afterįor all above and the empty terminal please have a look at. ActiveTcl includes precompiled and supported Tcl distribution for easy Tcl. You can embed redirection in Your exec'ed command ( 2 & 1 > somefile, or so, depending on Your system)Īnd You can use flush after each puts commands. Get Enterprise-grade Tcl from ActiveState: ActiveTcl Get Tcl from ActiveState w u s. Look for the Downloads tab from your account. Or, you might be wanting to download the exe or msi installer, and install it from there. Oh, sorry! this is in fact a case of fconfigure the stdin/stdout to Your own You probably want to be doing a state activate. Subject: RE: Running a tcl script from another script Only thing I want to run is only one command: Should I put "flsuh", "update" and "after"? Still looking for more help.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |