I'm trying to do some automated testing to the GUI of my software and to validate some stuff I need to compare exported files, for witch I use fc in command line.
I need the handle of my program and cmd in order to switch between them. Unfortunately Sikuli behaves very unpredictable when calling
cmd = App("cmd.exe")
Sometimes it opens a new console and sometimes it focuses on the console already open from the sikuli IDE.
Is there a smarter and robust way to work with console and sikuli?