Abridged summary of comp.lang.tcl@googlegroups.com - 9 updates in 4 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 9 updates in 4 topics

comp.lang.tcl mailing list
Cecil Westerhof <[hidden email]>: Jul 08 11:04AM +0200

At the moment I have the following:
puts [exec ${pip} install --no-cache-dir --upgrade {*}${packages}]
 
But this shows the output only after the command is finished.
What is the best way to ...more
Brad Lanam <[hidden email]>: Jul 08 04:33AM -0700

If there are multiple lines of output, you can use a pipe.
 
proc myproc {fh} {
if { [gets $fh line] >= 0 } {
puts $line
flush stdout
}
}
 
set cmd [list ${pip} ...more
Cecil Westerhof <[hidden email]>: Jul 08 02:37PM +0200

> cannot be synchronous at that point,
> and must be event driven.
> Someday I will change it to use a socket.
 
 
At the moment I have:
set params "install --no-cache-dir --upgrade ...more
Brad Lanam <[hidden email]>: Jul 08 06:08AM -0700

On Sunday, July 8, 2018 at 5:59:05 AM UTC-7, Cecil Westerhof wrote:
 
> Would that not be OK? (Can only check when I need a pip update.)
 
> You use '>= 0' instead of '!= -1'. Is that necessary? ...more
Cecil Westerhof <[hidden email]>: Jul 08 04:35PM +0200

> ...-buffering line...
 
> Looks like stdout is set for line buffering, so the flush probably is
> not necessary. Tcl is probably already doing it.
 
I just have to wait until an update is ...more
Christian Gollwitzer <[hidden email]>: Jul 08 10:14PM +0200

Am 08.07.18 um 15:08 schrieb Brad Lanam:
 
>> You use '>= 0' instead of '!= -1'. Is that necessary?
>> Is the flush from stdout necessary?
 
> That looks fine.
 
 
...unless it is running in a ...more
Cecil Westerhof <[hidden email]>: Jul 08 09:42PM +0200

I wanted output from a command seen at once. With exec I only get to
see it when the command is finished. For this I created the following
proc:
proc execCmd {cmd {displayOutput True} ...more
Brad Lanam <[hidden email]>: Jul 08 08:19AM -0700

Well, an annoying bug.
http would occasionally return a empty ncode.
I believe all the meta data was empty.
 
Intermittent. Only happens on Windows.
 
I already have retry code in my http utility ...more
[hidden email]: Jul 08 05:25AM -0700

Hi!
 
There is a long-standing issue with keyboard input in non-English keyboards. Maybe its severity is hindered by reporting it as relevant for Bengali language, but actually it's universal.
...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].