Skip to content

py35 and py36 fail in pipes #25

@cbm755

Description

@cbm755

py27.exe is working fine for me, but the Python 3 version are failing when I run them with popen2.

The relevant part of the error is:

Traceback (most recent call last):
  File "C:\projects\pyexe\pyexe.py", line 1176, in <module>
  File "C:\Python36\lib\os.py", line 1017, in fdopen
ValueError: Must have exactly one of read or write mode
[13316] Failed to execute script pyexe

I don't have a minimum working example yet but it involves talking to py.exe with a pipe. My tests using system() in Octave work fine. But when I open it with popen2, I get this error message.

I can dig deeper later if needed, but thought I'd report first in case its an easy fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions