Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive bake detection #20

Open
legendecas opened this issue Oct 6, 2019 · 0 comments
Open

Recursive bake detection #20

legendecas opened this issue Oct 6, 2019 · 0 comments

Comments

@legendecas
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant