Skip to content

Recursive bake detection #20

@legendecas

Description

@legendecas

With the issue of #19, I accidentally ran into an unexpected recursive bake invocation like:

foo:
  bake bar
bar:
  echo bar

And since shell would spawn a new process to run the bake, it is hard to get out of this indefinite loop. CTRL-C would not halt the situation. And pid resource would run out quickly until you luckily get a chance to force-quit all the bake process (like ps aux | grep bake | awk '{print $2}' | xargs kill -9).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions