You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the codes below, randomize never gives any output, it seems like it goes into an endless wait. and I noticed that it does this when you use it after the stop_vm command.
from pymemuc import PyMemuc
memuc = PyMemuc(debug=True)
memuc.stop_vm(vm_index=0)
memuc.randomize_vm(vm_index=0)
memuc.start_vm(vm_index=0)
Occasionally memuc.exe will hang on a command. pymemuc tries to avoid this by using timeouts on the exec calls but those aren't very reliable.
Often times I found that when commands like this hang, having the 'MEmu Multiple-Instance Manager' window open while applying commands prevents a hang.
Best practice is to have a thread which executes pymemuc commands that isn't joined by the main thread of your program, assuming you don't need the output of pymemuc read.
When I use the codes below, randomize never gives any output, it seems like it goes into an endless wait. and I noticed that it does this when you use it after the stop_vm command.
The text was updated successfully, but these errors were encountered: