Skip to content

0.77.0 broke my def-env command #8467

@Araxeus

Description

@Araxeus

Question

Here's my command:

def-env lsi [...path: string] { 
     let output = (ls-interactive ($path | str collect ' ')) 
     cd ( 
         if ($output | is-empty) { $env.PWD }  
         else { $output } 
     ) 
 } 

ls-interactive is an interactive file chooser, but now suddenly it doesn't seem to show its stdout while it's running or something
I'm not sure what's going on, it just doesn't display anything

It was working fine on <=0.76.0

Additional context and details

I have read the release notes and the breaking changes specifically, but I don't see anything that I use here? what am I missing? is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:external-commandsIssues related to external commandsA:redirection-pipeAll related to redirection to files or more complex pipelines with STDERRcategory:regressionSomething that worked does not work anymore.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions