Skip to content

xonsh: captured subproc is not capturing #206062

Closed

Description

@SamLukeYes

Describe the bug

Steps To Reproduce

$ !(echo hi) == 'hi\\\\n'
hi
False

$ !(echo hi).out == 'hi\\\\n'
hi
False

Expected behavior

The two commands above should only print "True".

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Tested on xonsh 0.13.3 and 0.13.4

Notify maintainers

@spwhitt @vrthra

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.15.82, NixOS, 23.05 (Stoat), 23.05.20221213.1710ed1
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.12.0
  • nixpkgs: /nix/store/dk1bqlz87dzsd8g4fq92pscgd60ji2vr-source

Activity

  1. added
    0.kind: bug
    on Dec 14, 2022
  2. SamLukeYes commented on May 25, 2024

    @SamLukeYes
    MemberAuthor

    Upstream fix: xonsh/xonsh#5440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions