Hello, Here is sample of my simple script with wxpython and modules: subprocess,threading, directpython....... Code sample: import wx import wx.aui app=wx.App() frame=wx.Frame(None,title="New project") #There is also part with wx.aui frame.Show() app.MainLoop() After a few minutes wx application does destroy. Any ides why?