So maybe someone have idea.
so, I use "Run Process" for specific tasks and works while recording mode - memuc -i [[DEVICEINDEX]] adb “devices” (you need to have adb.exe file in MEmu folder). Whit this it gets serial for the specific MEmu. If I run ADB "devices", it will get serials for all active MEmu (That I don't want)
When I run the script in run mode - it crashes since there are adb.exe files in the platform-tools folder and MEmu folder.
C:\Users\HumbleRecords>where adb
C:\Users\HumbleRecords\AppData\Local\Android\Sdk\platform-tools\adb.exe
C:\Program Files\Microvirt\MEmu\adb.exe