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

Appearance settings

Exec inside a function does not work #5449

Copy link
Copy link

Description

@faho
Issue body actions
$ function ouch
     exec fish
 end
$ ouch
There are still jobs active:

   PID  Command
     0  ouch

as described by @scorphus on gitter, and oh-my-fish/oh-my-fish#664.

This is caused by us checking for running jobs before doing exec now (1b1bc28), in conjunction with the hierarchical job changes.

I think we might just get away with warning only with background processes (i.e. those where is_foreground() is false). @mqudsi?

The obvious question is if this is important enough to warrant a 3.0.1, or a quick 3.1.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intendedSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.