Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. wisdoms

    Problem with exec in an exe-compiled tcl program

    The script works so: set Glob(Tk) [package require Tk] set Glob(Tk:Img) [package require img::png] if launched via my_gui.tcl, whereas Tk v8.5.11. But when Freewrap.exe wraps it, Tk becomes 8.5.9 and: Error sourcing /Temp/TechLog_Fetcher/techlog_fetcher.tcl: can't find package img::png How...
  2. wisdoms

    Problem with exec in an exe-compiled tcl program

    Hi Bob, I'm using now Freewrap, but... if I launch my my_gui.tcl GUI, "package require Img" is found and used, no error at all. After wrapping it to exe with Freewrap, I got: Error sourcing /Temp/my_gui.tcl: can't find package Img Why does it happen? I'm not an expert of libraries, but...
  3. wisdoms

    Problem with exec in an exe-compiled tcl program

    Hi Bong, thanks for your reply. Paths are correct, I've double-checked them. I’ve played a bit and I’ve found a possible workaround. Since Tk does not provide real standard IO capabilities, a command like this: exec <bat file> <args> fails, if launched by .exe file (this is what I#ve...
  4. wisdoms

    Problem with exec in an exe-compiled tcl program

    Hi all, my tcl/tk program works fine, as long as program.tcl file is launched. BUT, if I compile it to .exe (as described here: http://wiki.tcl.tk/11861) and I launch program.exe file, exec commands - like the following - don't work anymore: set out [catch { exec "./collectfiles.bat" -ne $ip...

Part and Inventory Search

Back
Top