Skip to content

echo $(recursive_function) SIGABRT #948

@oech3

Description

@oech3
bash$ nproc(){ nproc; }
bash$ echo $(nproc) # returns 0 . Why ???
brush$ nproc(){ nproc; }
brush$ echo $(nproc)
thread 'tokio-runtime-worker' (25461) has overflowed its stack
fatal runtime error: stack overflow, aborting
fish: Job 1, 'brush' terminated by signal SIGABRT (Abort)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: signalsRelates to signal or trap handling within the shell.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions