Ich habe folgendes Problem. Ich starte über subprocess eine .exe datei und fange mit denn den code ab , der auf der console erscheinen würde.. das geht auch wunderbar nun lasse ich aber py2exe drüber laufen und das modul spuckt mir einen fehler aus.
Code: Alles auswählen
process = subprocess.Popen(parameter, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
process.wait()
message=process.stdout.read()
Code: Alles auswählen
[/Traceback (most recent call last):
File "gui_dfue.pyw", line 191, in onVerbinde
File "dfue_backend.pyc", line 26, in verbindeZuRas
File "subprocess.pyc", line 533, in __init__
File "subprocess.pyc", line 593, in _get_handles
File "subprocess.pyc", line 634, in _make_inheritable
TypeError: an integer is required
Ich habe keine Ahung woran es liegen kann, vielleicht hat ja schomal jemand das gleich Problem gehabt..
mfg Jan