Can someone help me understand this behavior of Kix32 console (KiX2010.463)?

If you invoke KiXtart script using Kix32 from a CMD file and output text, a console window appears as expected.

If you then use RUN to invoke another KiXtart instance running a separate script that calls a MessageBox that is Application-modal the console window never closes until after you acknowledge the messagebox.

If you have text output after the messagebox it is displayed in the console after the message is displayed. Using RUN I would expect the second text to be output since RUN lets the original script continue running. However, why does the original script not exist and close the original console?

Invoke the CMD from the Windows RUN command not an existing CMD window.

Invoking CMD file:
 Code:
kix32 test1.kix


First script test1.kix:
 Code:
@Scriptname ?
;RUN "kix32.exe test2.kix"
RUN "%COMSPEC% /e:1024 /c kix32.exe test2.kix"
@kix ?


Second script (test2.kix):
 Code:
$x=MESSAGEBOX("Test Text","Test Message",64)


Edited by Howard Bullock (2014-03-26 02:30 PM)
_________________________
Home page: http://www.kixhelp.com/hb/