# How to check value of exit\_on\_sigint programmatically?

**URL:** <https://discourse.julialang.org/t/how-to-check-value-of-exit-on-sigint-programmatically/113776>\
**Category:** General Usage\
**Created:** [May 3, 2024, 7:30am UTC](https://discourse.julialang.org/t/how-to-check-value-of-exit-on-sigint-programmatically/113776 "2024-05-03T07:30:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vettert](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vettert/32/30599_2.png) [@vettert](https://discourse.julialang.org/u/vettert)\
**Post date:** [May 3, 2024, 7:30am UTC](https://discourse.julialang.org/t/how-to-check-value-of-exit-on-sigint-programmatically/113776/1 "2024-05-03T07:30:38Z")

</div>

The `Base.exit_on_sigint(bool)` function allows to set whether Julia terminates upon receiving a sigint signal. Now, I am wondering whether I can get the value somehow programmatically? Is there a way? The docstring doesn’t seem to give a concrete way of doing it 🙂

Or more generally, how do I programmatically check what flags the Julia runtime has been started with?
