--- In [email protected], "Nick Valeontis" <mouh...@...> wrote:
>
> I haven't been able to find a related thread.
>
> Is there a way to configure *exec commandline so that the command line
> window automatically closes when a command is executed? (not after 10s
> etc)
>
>
> Thanks,
No direct way, I believe.
You could do the following.
Create a command list called HookCommandLine. Such a list, if it
exists, is called as a command list script by the command line box
with the contents of the command line in the global variable x3 (an
old interface predating functions with arguments) before executing the
command line. The command list can do what it wants with x3. If it
does not want the command line to execute x3 after the command list
script returns, it sets x3 to "".
So you would want the following commands in the command list:
Do(x3)
x3=""
win.close("powerpro run")