robotgo icon indicating copy to clipboard operation
robotgo copied to clipboard

executive exe file dont work as expected

Open MansonLuo opened this issue 2 years ago • 2 comments

  • Robotgo version (or commit ref): v0.100.10
  • Go version: 1.20
  • Gcc version: v12.2.0
  • Operating system and bit: win10
  • Resolution: 1280x1024
  • Can you reproduce the bug at Examples: No
    • [ ] Yes (provide example code)
    • [ ] No
    • [ ] Not relevant
  • Provide example code:

  • Log gist:

Description

the software that I want to automate now is running, when i run go build, i get a exe file, i run this file, it works expected

But when I close software that I wanna automate, and rerun it, then the exe file works unexpected ...

MansonLuo avatar Jul 24 '23 07:07 MansonLuo

This problem also exists in exe file packed by python, but after try two times, it will works again, but exe file build by golang won't recover even I try many times

MansonLuo avatar Jul 24 '23 08:07 MansonLuo

But if I run this exe file built by golang, it will works ad expected first time, then it wont works properly anymore.it's so weird

MansonLuo avatar Jul 24 '23 08:07 MansonLuo