I'm trying to make an addon that launches an exe file but it crashes when calling sim.launchExecutable. Weird thing is that if I directly copy and paste the addon code into a dummy customization script without making anychanges it works fine. I'm thinking the issue might have something to do with coroutines and threads, but I can't figure it out myself.
I tried using os.execute and it works but coppelia compeltely freezes while exe is working and I don't want that.
Would appreciate any help with this!
Coppelia crashes when calling sim.launchExecutable from an addon
Re: Coppelia crashes when calling sim.launchExecutable from an addon
Hello,
indeed, there is a bug. Thanks for pointing this out.
You can use simSubprocess.exec or simSubprocess.execAsync as a workaround.
Cheers
indeed, there is a bug. Thanks for pointing this out.
You can use simSubprocess.exec or simSubprocess.execAsync as a workaround.
Cheers