If I want use <exec> to launch a texis script (i.e., via
<exec BKGND texis myScript></exec>
is there a way to specify an entry point for the call other than the function named main? This would be a convenience more than anything, because I have a number of different calls to make this way and I'd like to keep all of the functions together in a single module if possible.
My objective is to demonstrate launching a lengthy process, but having the function that spawns that process return immediately and then end, leaving the lengthy process to continue running.
I am testing this by issuing the following from a command prompt:
texis test
When the <exec> statement in main does NOT include the BKGND option, everything works, except that main waits until the function longWait finishes, as I expect. However, when I add the BKGND option to the <exec> statement (as you see above), I get the following error returned at the command prompt:
000 test:3: Cannot set std[0] flags: The parameter is incorrect in the function TXpopenduplex
Hi. I contacted tech support and they said someone would get back to me re this issue, but as yet no one has. Any progress on a workaround or fix? Thanks.