Forum Discussion
Dmitry_Nikolaev
Staff
14 years agoHi Ory,
I have tried creating such a sample some time ago, but I failed to reproduce the problem you are facing with it. I have not tried to test such a sample application with script extensions, but I do not think that there will be any problems as there were no problems like those you reported before.
However I believe it should be pretty easy to simulate. After all it is a normal CMD window that is being called. I would hazard a guess that any windows application with a button that would call a CMD window execution (maybe a batch file as an example) would be similar, but I could be wrong.
It is possible that the problem can be specific to a way the CMD window is opened. Could you please provide us with the application's source code that handles the button click and runs a batch file in a CMD window? I will try to use this code in order to create another sample.
I have registered your request to clarify usage of this method from a script extension in our Help system. Thank you.
PS - As par other issues I have raised in regards to the use of Script Extensions, I hope documentation is being updated according to these findings (i.e. ASync not meant to work through Script Extensions).