└───module
├─── runner.py
├───linux
│ └───prog
└───win
└───prog.exe
system = sys.platform
if system == 'win32':
Popen([r'\\win\\prog.exe'], stdout = DEVNULL)
elif system.startswith('linux'):
Popen(['./linux/prog'], stdout = DEVNULL)
else:
raise SystemError('System does not support')