I am working on executing an exe file (notepad.exe) inside windows container using python.
I have copied these in my container:
exe file
dockerfile that calls python script
python script that runs exe
When I build and run these, Its not showing any error. This is the python code I am executing.
import os
print(“working”)
os.startfile(“notepad.exe”)
print(“successful”)
The print commands are successful. As notepad is not opening, I don't know whether it is executing or not. Actually, I want to execute an exe file and take the memory dump of Windows container.
Can you please tell me what to do for getting the memory dump in windows container? Also,how will I know that the exe is executing or not?