# Exit code 0 with failing C++ notebook

**URL:** <https://root-forum.cern.ch/t/exit-code-0-with-failing-c-notebook/40789>\
**Category:** ROOT\
**Tags:** jupyter\
**Created:** [August 1, 2020, 10:36pm UTC](https://root-forum.cern.ch/t/exit-code-0-with-failing-c-notebook/40789 "2020-08-01T22:36:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ahesam](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ahesam/32/19455_2.png) [@ahesam](https://root-forum.cern.ch/u/ahesam)\
**Post date:** [August 3, 2020, 12:17pm UTC](https://root-forum.cern.ch/t/exit-code-0-with-failing-c-notebook/40789/4 "2020-08-03T12:17:33Z")

</div>

Wasn’t sure either about that, but one of the contributors to the nbconvert project claims that it is part of the spec to return a non-zero exit code when a cell fails: [https://github.com/jupyter/nbconvert/issues/1058](https://github.com/jupyter/nbconvert/issues/1058)

It makes sense to me 😁

---

_[View the full topic](https://root-forum.cern.ch/t/exit-code-0-with-failing-c-notebook/40789)._
