Windows: App.open("cmd.exe /c .....") does not work as in 1.1.x
I have upgraded from sikulixide 1.1.4 to 2.0.4 (with java 11) and my script that run a .bat doesn't work anymore with :
myApp = App("cmd /c ...)
myApp.open()
In 2.0.4 (and 2.1.0-snapshot) it pops a file explorer window in the sikulixide jar folder instead of running my bat file. In 1.1.4 it's running well. (same java in both cases, windows10, java11 is an adoptjdk jdk)
Thanks for finding. Have to check.
Could you please provide the complete string parameter for App():
myApp = App("cmd /c ...)
Sure, for ex. App.open("cmd /c c:/test/test.bat")
with for a simple test, test.bat:
calc.exe
ok, thanks.
Simply use:
App.open(r"c:\test\test.bat")
Nevertheless I will add a suitable solution for cases like:
App.open("cmd /c start ......")