Skip to content

The shell's .output command gives an error on OS X + Python 2.7 #117

@rogerbinns

Description

@rogerbinns

From [email protected] on April 15, 2011 15:29:02

What steps will reproduce the problem? 1.python -c "from apsw import main; main()"
2..output test.out 3. What is the expected output? What do you see instead? Expected is that the output of queries is redirected to the file.
But the command raises IOError, {Errno 9] Bad File Descriptor What version of the product are you using? On what operating system? APSW 3.7.5- r1 Python 2.7
OS/X PPC Please provide any additional information below. The error results from sys.stdin.flush(). I added this in the Python Issue tracker but it is not considered a bug there. (see http://bugs.python.org/issue11851 for more details)

Original issue: http://code.google.com/p/apsw/issues/detail?id=117

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions