Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

subprocess.check_call'sstdout= write to the underlying file opened by bz2.open #105309

Open
Labels
stdlibPython modules in the Lib dirtopic-subprocessSubprocess issues.type-bugAn unexpected behavior, bug, or error
@grapland0

Description

@grapland0
withbz2.open("abc.bz2","wb")asfo:subprocess.check_call(["blah","blah"],stdout=fo)

Expected: abc.bz2 contains compressed data from subprocess.
Actual: abc.bz2 containsuncompressed data from subprocess.

cpython 3.11.3, linux 5.4.0-1109-azure

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtopic-subprocessSubprocess issues.type-bugAn unexpected behavior, bug, or error

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp