HI! so, i'm facing this issue when trying to run an exe using subprocess.Popen from an python module.
This is the structure of my project: --Root ----myApp.exe ----mypackage (python package) ---------script.py ---------Folder (some folder) -------------some_script.exe myApp.exe (the app frozen by pyinstaller), imports and calls script.py script.py calls subprocess.Popen([get_path(), '-a', fh.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE) Traceback (most recent call last): File "C:\Users\Admin\Desktop\0.8.0\ochDownloader\addons\swfdump\dump.py", line 20, in get_swf_dump p = subprocess.Popen([get_path(), '-a', fh.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "C:\Users\Admin\Desktop\pyinstaller-2.0\pyinstaller-2.0\starter\build\pyi.win32\starter\out00-PYZ.pyz\subprocess", line 672, in __init__ File "C:\Users\Admin\Desktop\pyinstaller-2.0\pyinstaller-2.0\starter\build\pyi.win32\starter\out00-PYZ.pyz\subprocess", line 774, in _get_handles WindowsError: [Error 6] Controlador no vĂ¡lido subprocess.call works properly, dont know why Popen does not. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyinstaller/-/cUsBuRrQXfAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
