As a totally newbie, I’ve unsuccessfully tried to execute this example:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import wx
if __name__ == '__main__':
app = wx.App(False)
pid = wx.Execute('echo S', wx.EXEC_ASYNC)
print(pid)
It returns pid = 0. I am using Python 3.7.5 with wxPython 4.1.0 on Windows 10. What am I missing?
Thanks in advance.