I have now constructed a batch file that enables me to run two communicating processes - in principle. The problem now is the way the TCL process is run. Here is the manual way I'm having to do it.From the sound of the file name, eventloop.tcl, is this a small piece of tcl code you're experimenting with? Can you post this file?
1. Start TCL/Tk by clicking on WISH which gives me a console window.
2. Load eventloop.tcl using the console (process A).
3. Optionally, kill the console.
4. Open sbcl-shen.exe (process B, with the communicating program preloaded).
This works. However if I vary this routine as follows.
1. Load eventloop.tcl by clicking on it (process A).
2. Open sbcl-shen.exe (process B, with the communicating program preloaded).
Then I get two windows but process B cannot talk to process A. This two step routine is the routine in my Windows batch file.
Mark
On Wednesday 31 January 2024 at 09:25:14 UTC, et99 wrote:
On 1/30/2024 10:58 PM, Mark Tarver wrote:
I have now constructed a batch file that enables me to run two communicating processes - in principle. The problem now is the way the TCL process is run. Here is the manual way I'm having to do it.From the sound of the file name, eventloop.tcl, is this a small piece of tcl code you're experimenting with? Can you post this file?
1. Start TCL/Tk by clicking on WISH which gives me a console window.
2. Load eventloop.tcl using the console (process A).
3. Optionally, kill the console.
4. Open sbcl-shen.exe (process B, with the communicating program preloaded).
This works. However if I vary this routine as follows.
1. Load eventloop.tcl by clicking on it (process A).
2. Open sbcl-shen.exe (process B, with the communicating program preloaded).
Then I get two windows but process B cannot talk to process A. This two step routine is the routine in my Windows batch file.
Mark
And the .exe, what is that? Do you have its source code; what language is it? What does comm prog preloaded mean? Is it a tclkit/starpak or something else.
Nailed it. The problem is in the batch file. I now have
START /B sbcl-shen.exe
C:\ActiveTcl\bin\wish.exe "C:\Users\shend\OneDrive\Desktop\Shen\S38\Tk\eventloop.tcl"
I was using C:\ActiveTcl\bin\wish86t.exe
Mark
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (0 / 16) |
Uptime: | 01:16:44 |
Calls: | 6,669 |
Calls today: | 1 |
Files: | 12,217 |
Messages: | 5,338,505 |