Please tell me how to make xrunandwait run better, because its freezes the macro.
i have a call to an script python of 120 lines, small, when i run it from command line it executes instantly less than 1 sec, so the problem is not the script, but when i call in from RPA macro, it freezes about 10 secs.
The problem is i’m making a bot for a browsergame and actions must be done inside a timeframe (example you have 10 secs for attack) so if xrunandwait freezes 10 secs i lose the time frame and the bot FAILS, i tried EVERYTHING to speed up, at first the data was retrieved from a network share on a gigabit network, and i though, maybe the network is lagging, so i moved the data to local disk, maybe the disk is not fast enough to run a 120 lines of code script, so i moved all to a SSD, i have ryzen 7 3700x and 64 f**ing gb of ram, but the problem is RPA keeps drooling looking at infinite instead of running the script, i though maybe xrunandwait is waiting for some exit code and the script is not giving it, i tried xrun, and added a pause of 2 secs after, my script runs in miliseconds, and 2 secs is a good delay, at least i have 8 secs more, but its the same, xrun keeps drooling looking at infinite too.
Please optimize your code when calling external scripts, or tell me whats is the trick, maybe is the call, where is located? absolute or relative path? give me a hint