Skip to content

Freeze when executing ^ps -ef | table #6679

Closed

Description

@sandwoodK

Describe the bug

nushell〉^ps -ef | table

freeze. No possibility of stopping that with CTRL-D or CTRL-C

How to reproduce

  1. Start nushell
  2. ^ps -ef | table

Tested several time . get same freeze.
Same freeze with ^ps -au | table
or with ^ps au | table
or ^ps ef | table

Expected behavior

no freeze.
Some error message if this command does not make sense ?

Screenshots

No response

Configuration

key value
version 0.69.1
branch
commit_hash 8a5abc7
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.64.0 (a55dd71d5 2022-09-19)
rust_channel stable-x86_64-unknown-linux-gnu
cargo_version cargo 1.64.0 (387270bc7 2022-09-16)
pkg_version 0.69.1
build_time 2022-09-28 02:53:42 +00:00
build_rust_channel release
features database, dataframe, default, trash, which, zip
installed_plugins

Additional context

No response

Activity

  1. fdncred commented on Oct 8, 2022

    @fdncred
    Contributor

    You're right that it shouldn't hang but ^ps -ef | table won't do anything anyway. You might be trying to do something like ^ps -ef | detect columns. There's also a built in ps command.

  2. added
    category:bug
    on Oct 8, 2022
  3. nibon7 commented on Oct 9, 2022

    @nibon7
    Contributor

    I think it is caused by external commands and sync channels.
    See #5625 #6594

  4. fdncred commented on Oct 9, 2022

    @fdncred
    Contributor

    I think we should just land #5197 which fixes these issues at the sacrifice of #4986 or either do what you said

    or unblocking try_send
    

    any idea how to do that @nibon7 ?

  5. added
    A:external-commands
    on Oct 10, 2022
  6. WindSoilder commented on Oct 10, 2022

    @WindSoilder
    Contributor

    I think this issue is resolved in latest main

  7. sholderbach commented on Oct 10, 2022

    @sholderbach
    Member

    Thanks for tackling that @WindSoilder

  8. added this to the v0.70.0 milestone on Oct 10, 2022
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

    A:external-commandscategory:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions