Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Respect is a rational process -- McCoy, "The Galileo Seven", stardate 2822.3


devel / comp.lang.tcl / Tk generate an exec sequence in background ???

SubjectAuthor
* Tk generate an exec sequence in background ???my DIY
+* Tk generate an exec sequence in background ???Helmut Giese
|`- Tk generate an exec sequence in background ???my DIY
+- Tk generate an exec sequence in background ???Rich
`* Tk generate an exec sequence in background ???Bezoar
 `* Tk generate an exec sequence in background ???Schelte
  `* Tk generate an exec sequence in background ???Bezoar
   `- Tk generate an exec sequence in background ???my DIY

1
Tk generate an exec sequence in background ???

<aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10333&group=comp.lang.tcl#10333

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:1144:b0:4c7:ab9:3576 with SMTP id b4-20020a056214114400b004c70ab93576mr37497559qvt.40.1670791832103;
Sun, 11 Dec 2022 12:50:32 -0800 (PST)
X-Received: by 2002:a05:622a:1b18:b0:3a4:ae7c:c70d with SMTP id
bb24-20020a05622a1b1800b003a4ae7cc70dmr72787358qtb.40.1670791831926; Sun, 11
Dec 2022 12:50:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 11 Dec 2022 12:50:31 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=77.201.128.123; posting-account=MRxU0goAAAB_qz6TWPNNJAfni2raaTXl
NNTP-Posting-Host: 77.201.128.123
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>
Subject: Tk generate an exec sequence in background ???
From: mydiyfor...@gmail.com (my DIY)
Injection-Date: Sun, 11 Dec 2022 20:50:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1986
 by: my DIY - Sun, 11 Dec 2022 20:50 UTC

Hello,

I'm pretty new to TCL/TK and this time it's too much for me !

I did a Tk GUI where I can select several actions with check boxes and then when I click on a button I want all those actions to be executed in background but keeping the actions order.

So let's say I've checkboxes action1, action2 and action3.
For now I have somewhere in the button's proc the following lines :

if { ${action1_checked} } {
exec prog1 &
}

if { ${action2_checked} } {
exec prog2 &
}

if { ${action3_checked} } {
exec prog3 &
}

So the thing is that all selected actions are launched simultaneously and they each end anytime, conclusion is that I'm loosing the fact that action3 must be launched after action2 ends which must be launched after action1 ends.

I googled a lot of things, got several answers I'm not able to understand because too advanced for me !

So if someone could provide me specific info to this case I would be grateful !

Thanks.

Re: Tk generate an exec sequence in background ???

<ldjcpht5u6hdthf60vj4dh5nsg89qhmqjv@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10334&group=comp.lang.tcl#10334

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: hgi...@ratiosoft.com (Helmut Giese)
Newsgroups: comp.lang.tcl
Subject: Re: Tk generate an exec sequence in background ???
Date: Sun, 11 Dec 2022 22:41:21 +0100
Organization: ratiosoft
Lines: 21
Message-ID: <ldjcpht5u6hdthf60vj4dh5nsg89qhmqjv@4ax.com>
References: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="3cfb78f716320c39d822b1fdc27209e7";
logging-data="2131953"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FaPiiG1ObXO27/pYZF4gP"
Cancel-Lock: sha1:pp276Q+2yyOXGhw6GBrCJJrmUHI=
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
 by: Helmut Giese - Sun, 11 Dec 2022 21:41 UTC

Hello,
> if { ${action1_checked} } {
> exec prog1 &
> }
>
> if { ${action2_checked} } {
> exec prog2 &
> }
>
> if { ${action3_checked} } {
> exec prog3 &
> }
>
>So the thing is that all selected actions are launched simultaneously and they each end anytime, conclusion is that I'm loosing the fact that action3 must be launched after action2 ends which must be launched after action1 ends.
>
I think you should remove the &s at the end of your 'exec' calls. If
you do Tcl will only (re-) gain control when the 'exec' operation is
finished and can then start the next - which is what I have understood
to be what you want.
HTH
Helmut

Re: Tk generate an exec sequence in background ???

<0b80c131-fb68-479f-806c-e91a69f15e3dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10335&group=comp.lang.tcl#10335

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ac8:4e17:0:b0:3a6:a5c3:fd3c with SMTP id c23-20020ac84e17000000b003a6a5c3fd3cmr18431996qtw.36.1670795190146;
Sun, 11 Dec 2022 13:46:30 -0800 (PST)
X-Received: by 2002:ac8:5042:0:b0:3a5:2751:ce81 with SMTP id
h2-20020ac85042000000b003a52751ce81mr68423507qtm.322.1670795189903; Sun, 11
Dec 2022 13:46:29 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 11 Dec 2022 13:46:29 -0800 (PST)
In-Reply-To: <ldjcpht5u6hdthf60vj4dh5nsg89qhmqjv@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.201.128.123; posting-account=MRxU0goAAAB_qz6TWPNNJAfni2raaTXl
NNTP-Posting-Host: 77.201.128.123
References: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com> <ldjcpht5u6hdthf60vj4dh5nsg89qhmqjv@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b80c131-fb68-479f-806c-e91a69f15e3dn@googlegroups.com>
Subject: Re: Tk generate an exec sequence in background ???
From: mydiyfor...@gmail.com (my DIY)
Injection-Date: Sun, 11 Dec 2022 21:46:30 +0000
Content-Type: text/plain; charset="UTF-8"
 by: my DIY - Sun, 11 Dec 2022 21:46 UTC

Hello Helmut,

Thank you for your answer.

In fact I need these actions to be run in background as they can be pretty long and I need to still have access in the TK GUI to other buttons that can launch other actions !

If I remember well when I do not use the & the GUI is not usable until actions are done !

Thanks.

Re: Tk generate an exec sequence in background ???

<tn5mhl$219pb$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10336&group=comp.lang.tcl#10336

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.lang.tcl
Subject: Re: Tk generate an exec sequence in background ???
Date: Sun, 11 Dec 2022 22:45:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 72
Message-ID: <tn5mhl$219pb$1@dont-email.me>
References: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>
Injection-Date: Sun, 11 Dec 2022 22:45:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f90df1f022427ba91905349c5986926e";
logging-data="2139947"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cizqKSmx0KiaQskfHksmK"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:v8NOVw2RfPbig0EJijkwZLp9618=
 by: Rich - Sun, 11 Dec 2022 22:45 UTC

my DIY <mydiyforfun@gmail.com> wrote:
> Hello,
>
> I'm pretty new to TCL/TK and this time it's too much for me !
>
> I did a Tk GUI where I can select several actions with check boxes
> and then when I click on a button I want all those actions to be
> executed in background but keeping the actions order.
>
> So let's say I've checkboxes action1, action2 and action3. For now I
> have somewhere in the button's proc the following lines :
>
> if { ${action1_checked} } {
> exec prog1 &
> }
>
> if { ${action2_checked} } {
> exec prog2 &
> }
>
> if { ${action3_checked} } {
> exec prog3 &
> }
>
> So the thing is that all selected actions are launched simultaneously
> and they each end anytime, conclusion is that I'm loosing the fact
> that action3 must be launched after action2 ends which must be
> launched after action1 ends.

You are receiving exactly what you coded for above. Each program is
independently launched in the background, without regard for the
others.

> I googled a lot of things, got several answers I'm not able to
> understand because too advanced for me !
>
> So if someone could provide me specific info to this case I would be
> grateful !

One option you have already been given, and it is the simplest of the
options. Just remove the ampersands and you get sequential serial
processing.

A second option is to modify your background program to be launched
once, but itself take options to indcate what to run:

exec prog --action1 --action2 --action3 &

And have it run the requested actions in sequence.

A third option is to create a TCL wrapper script that actually runs the
prog1 through prog3 programs, and accepts options like I suggested
above, then you launch the wrapper and it launches the progs in order.
I.e., something like this as the TCL wrapper:

foreach {arg prog} [list --action1 prog1 --action2 prog2] {
if {$arg in $argv} {
exec $prog
}
}

A fourth option, if you are on Linux/BSD/MacOS, is to create a shell
script that does what the bit of TCL above does. And then launch that
shell script.

The next level up in complexity is you'll have to create some TCL event
driven code to use TCL's 'open' command to launch each task, and
fileevent to watch the returning file descriptors for each to finish
before launching the next. I'm not going to try to diagram that here,
as I'll likely have written out several bugs from just typing code in
off the top of my head.

Re: Tk generate an exec sequence in background ???

<275d6962-8044-46bb-a852-631967e01e79n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10338&group=comp.lang.tcl#10338

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:5849:0:b0:4c7:933:144c with SMTP id de9-20020ad45849000000b004c70933144cmr39900224qvb.80.1670830476660;
Sun, 11 Dec 2022 23:34:36 -0800 (PST)
X-Received: by 2002:a05:622a:1b18:b0:3a4:ae7c:c70d with SMTP id
bb24-20020a05622a1b1800b003a4ae7cc70dmr72856107qtb.40.1670830476479; Sun, 11
Dec 2022 23:34:36 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sun, 11 Dec 2022 23:34:36 -0800 (PST)
In-Reply-To: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6000:d401:d1d6:bbee:a652:e255:dead;
posting-account=PgTumwgAAAANHcRl_JKGG6anlrNd8s1N
NNTP-Posting-Host: 2603:6000:d401:d1d6:bbee:a652:e255:dead
References: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <275d6962-8044-46bb-a852-631967e01e79n@googlegroups.com>
Subject: Re: Tk generate an exec sequence in background ???
From: cwjo...@gmail.com (Bezoar)
Injection-Date: Mon, 12 Dec 2022 07:34:36 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3500
 by: Bezoar - Mon, 12 Dec 2022 07:34 UTC

On Sunday, December 11, 2022 at 2:50:34 PM UTC-6, my DIY wrote:
> Hello,
>
> I'm pretty new to TCL/TK and this time it's too much for me !
>
> I did a Tk GUI where I can select several actions with check boxes and then when I click on a button I want all those actions to be executed in background but keeping the actions order.
>
> So let's say I've checkboxes action1, action2 and action3.
> For now I have somewhere in the button's proc the following lines :
>
> if { ${action1_checked} } {
> exec prog1 &
> }
>
> if { ${action2_checked} } {
> exec prog2 &
> }
>
> if { ${action3_checked} } {
> exec prog3 &
> }
>
> So the thing is that all selected actions are launched simultaneously and they each end anytime, conclusion is that I'm loosing the fact that action3 must be launched after action2 ends which must be launched after action1 ends.
>
> I googled a lot of things, got several answers I'm not able to understand because too advanced for me !
>
> So if someone could provide me specific info to this case I would be grateful !
>
> Thanks.

#!/bin/sh
# the next line restarts using wish \
exec /opt/usr8.6.3/bin/tclsh8.6 "$0" ${1+"$@"}
package require Tk
namespace eval WaitFd {
proc WaitFdReader { fd } {
if { [eof $fd ] } {
catch { close $fd }
incr ::forever_$fd;
} else {
read $fd; # we dont care about output
}
}
proc wait { fd } {
fconfigure $fd -blocking 0
fileevent $fd readable [list WaitFd::WaitFdReader $fd ]
set w ::forever_$fd
vwait $w
unset $w
}
namespace export WaitFdReader
} pack [button .ls -text "background" -command {
# run two commands in background we wait until one is done before running second
# dont have xpdf or a pdf file try some long running process or one where user must quit
# using open rather than exec
set out [ open "|xpdf untitled.pdf &" "r" ];
WaitFd::wait $out
set out [ open "|xpdf important.pdf &" "r" ]
WaitFd::wait $out
} ] -side top -fill x -padx 10 -pady 10
# while the background tasks are running press the dummy button to see that
# Tk is still alive ( handling events)
pack [button .dummy -text "Press Me" -command {
puts "You Pressed Me!"
} ] -side top -fill x -padx 10 -pady 10

Re: Tk generate an exec sequence in background ???

<nnd$4832b42e$7b1f6dea@f60e21d0d52aa3c3>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10341&group=comp.lang.tcl#10341

  copy link   Newsgroups: comp.lang.tcl
Date: Mon, 12 Dec 2022 17:22:53 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.0.2
Subject: Re: Tk generate an exec sequence in background ???
Newsgroups: comp.lang.tcl
References: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com> <275d6962-8044-46bb-a852-631967e01e79n@googlegroups.com>
Content-Language: nl-NL, en-US
From: nos...@wanadoo.nl (Schelte)
In-Reply-To: <275d6962-8044-46bb-a852-631967e01e79n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <nnd$4832b42e$7b1f6dea@f60e21d0d52aa3c3>
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!feeder.usenetexpress.com!tr2.eu1.usenetexpress.com!94.232.112.245.MISMATCH!feed.abavia.com!abe005.abavia.com!abp002.abavia.com!news.kpn.nl!not-for-mail
Lines: 74
Injection-Date: Mon, 12 Dec 2022 17:22:53 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: Schelte - Mon, 12 Dec 2022 16:22 UTC

On 12/12/2022 08:34, Bezoar wrote:
> On Sunday, December 11, 2022 at 2:50:34 PM UTC-6, my DIY wrote:
>> I did a Tk GUI where I can select several actions with check boxes and then when I click on a button I want all those actions to be executed in background but keeping the actions order.

Because vwaits nest, I prefer to use them sparingly. They are not needed
here. You can just store the commands in a list and when one command
finishes, start the next:

#!/usr/bin/env tclsh

proc log {str} {
# Simplistic logging
puts $str
}

proc serialexec {args} {
variable serialexec
lappend serialexec $args
log "Queued command: $args"
if {[llength $serialexec] == 1} {
# First command can immediately be started
serialrun
}
}

proc serialrun {} {
variable serialexec
set cmd [lindex $serialexec 0]
set fd [open "|$cmd 2>@1"]
log "Started command: $cmd, pid = [pid $fd]"
fconfigure $fd -blocking 0
fileevent $fd readable [list callback $fd]
}

proc callback {fd} {
if {[eof $fd]} {
variable serialexec
# The channel must be blocking to get the exit code
fconfigure $fd -blocking 1
try {
close $fd
set retcode 0
} trap {CHILDSTATUS} {err info} {
set retcode [lindex [dict get $info -errorcode] end]
} on error {err info} {
# Something unexpected happened
log $err
exit
}
set serialexec [lassign $serialexec cmd]
log "Command finished: $cmd, exit code = $retcode"
if {[llength $serialexec]} {
# Start the next queued command
serialrun
} else {
# All commands have finished
exit
}
} else {
if {[gets $fd line] >= 0} {
# Optionally log the output of the command
log $line
}
}
}

serialexec sleep 5
serialexec sleep 3
serialexec sleep 4

vwait forever

Re: Tk generate an exec sequence in background ???

<807ac156-a8fc-4c97-8fac-73dd2262f431n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10342&group=comp.lang.tcl#10342

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a0c:d6c6:0:b0:4c7:26a4:9094 with SMTP id l6-20020a0cd6c6000000b004c726a49094mr30085746qvi.87.1670878785790;
Mon, 12 Dec 2022 12:59:45 -0800 (PST)
X-Received: by 2002:a05:620a:1649:b0:6ff:680:ced9 with SMTP id
c9-20020a05620a164900b006ff0680ced9mr1957076qko.71.1670878785592; Mon, 12 Dec
2022 12:59:45 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 12 Dec 2022 12:59:45 -0800 (PST)
In-Reply-To: <nnd$4832b42e$7b1f6dea@f60e21d0d52aa3c3>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:6000:d401:d1d6:bbee:a652:e255:dead;
posting-account=PgTumwgAAAANHcRl_JKGG6anlrNd8s1N
NNTP-Posting-Host: 2603:6000:d401:d1d6:bbee:a652:e255:dead
References: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>
<275d6962-8044-46bb-a852-631967e01e79n@googlegroups.com> <nnd$4832b42e$7b1f6dea@f60e21d0d52aa3c3>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <807ac156-a8fc-4c97-8fac-73dd2262f431n@googlegroups.com>
Subject: Re: Tk generate an exec sequence in background ???
From: cwjo...@gmail.com (Bezoar)
Injection-Date: Mon, 12 Dec 2022 20:59:45 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3271
 by: Bezoar - Mon, 12 Dec 2022 20:59 UTC

On Monday, December 12, 2022 at 10:22:58 AM UTC-6, Schelte wrote:
> On 12/12/2022 08:34, Bezoar wrote:
> > On Sunday, December 11, 2022 at 2:50:34 PM UTC-6, my DIY wrote:
> >> I did a Tk GUI where I can select several actions with check boxes and then when I click on a button I want all those actions to be executed in background but keeping the actions order.
> Because vwaits nest, I prefer to use them sparingly. They are not needed
> here. You can just store the commands in a list and when one command
> finishes, start the next:
>
> #!/usr/bin/env tclsh
>
> proc log {str} {
> # Simplistic logging
> puts $str
> }
>
> proc serialexec {args} {
> variable serialexec
> lappend serialexec $args
> log "Queued command: $args"
> if {[llength $serialexec] == 1} {
> # First command can immediately be started
> serialrun
> }
> }
>
> proc serialrun {} {
> variable serialexec
> set cmd [lindex $serialexec 0]
> set fd [open "|$cmd 2>@1"]
> log "Started command: $cmd, pid = [pid $fd]"
> fconfigure $fd -blocking 0
> fileevent $fd readable [list callback $fd]
> }
>
> proc callback {fd} {
> if {[eof $fd]} {
> variable serialexec
> # The channel must be blocking to get the exit code
> fconfigure $fd -blocking 1
> try {
> close $fd
> set retcode 0
> } trap {CHILDSTATUS} {err info} {
> set retcode [lindex [dict get $info -errorcode] end]
> } on error {err info} {
> # Something unexpected happened
> log $err
> exit
> }
> set serialexec [lassign $serialexec cmd]
> log "Command finished: $cmd, exit code = $retcode"
> if {[llength $serialexec]} {
> # Start the next queued command
> serialrun
> } else {
> # All commands have finished
> exit
> }
> } else {
> if {[gets $fd line] >= 0} {
> # Optionally log the output of the command
> log $line
> }
> }
> }
>
> serialexec sleep 5
> serialexec sleep 3
> serialexec sleep 4
>
> vwait forever
This is a better idea.

Re: Tk generate an exec sequence in background ???

<1e837a2a-c0d1-4cb1-9ef1-c6c31133ec28n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10343&group=comp.lang.tcl#10343

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:9b2:b0:4c7:54b0:5523 with SMTP id du18-20020a05621409b200b004c754b05523mr19928581qvb.18.1670880142901;
Mon, 12 Dec 2022 13:22:22 -0800 (PST)
X-Received: by 2002:a05:6214:3684:b0:4cc:b954:de7b with SMTP id
nl4-20020a056214368400b004ccb954de7bmr1857487qvb.26.1670880142719; Mon, 12
Dec 2022 13:22:22 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 12 Dec 2022 13:22:22 -0800 (PST)
In-Reply-To: <807ac156-a8fc-4c97-8fac-73dd2262f431n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.201.128.123; posting-account=MRxU0goAAAB_qz6TWPNNJAfni2raaTXl
NNTP-Posting-Host: 77.201.128.123
References: <aa359dbf-8b4d-4877-a08f-cc208e2aaf37n@googlegroups.com>
<275d6962-8044-46bb-a852-631967e01e79n@googlegroups.com> <nnd$4832b42e$7b1f6dea@f60e21d0d52aa3c3>
<807ac156-a8fc-4c97-8fac-73dd2262f431n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1e837a2a-c0d1-4cb1-9ef1-c6c31133ec28n@googlegroups.com>
Subject: Re: Tk generate an exec sequence in background ???
From: mydiyfor...@gmail.com (my DIY)
Injection-Date: Mon, 12 Dec 2022 21:22:22 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1562
 by: my DIY - Mon, 12 Dec 2022 21:22 UTC

Hi,

Ok, thank you all for your proposals !

Special big thanks to Bezoar, your solution works exactly as I needed and it fits in 2 little procs !!
I still don't understood everything yet but it's a good start ! :-)

Thank you again !

Stephane.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor