Re: tclexecomp won't print anything

Liste des GroupesRevenir à cl tcl 
Sujet : Re: tclexecomp won't print anything
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tcl
Date : 17. Dec 2024, 06:08:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vjr0vm$1i1a9$5@dont-email.me>
References : 1
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Luc <luc@sep.invalid> wrote:
I wrapped an entire Tk application with tclexecomp.
 
It works. Everything works.
 
Then I have some idea and decide to test something. The story gets
long, but we can shorten it.
 
Instead of a full-fledged application, only this script is packed:
 
$ cat p1.tcl
puts "hello"
exit
 
Yes, that's it.
 
So I pack it and run it and nothing prints. Why?
 
(In the slightly longer version of this story, I am trying to puts
the output of [pwd], [glob *], [parray env] and source another .tcl
file.)

You left out a bit of critical info:  Linux or Windows as OS?

Under Linux, provided you are running that from within a terminal
session (not 'launching' it by clicking an icon as in the usual
windows way) you should see 'hello' output on the terminal.

In windows, it depends upon what executable you use to launch it, not
every windows executable gets a terminal (and if it does not get a
terminal it has no stdout, so "puts" just disappear).


Date Sujet#  Auteur
17 Dec 24 * tclexecomp won't print anything4Luc
17 Dec 24 +* Re: tclexecomp won't print anything2Rich
17 Dec 24 i`- Re: tclexecomp won't print anything1Luc
17 Dec 24 `- Re: tclexecomp won't print anything1Luc

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal