question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

exit_code not working as expected

See original GitHub issue

I do this:

app.exit_code = 64

And exit code is 0.

I do this:

app.run()
app.close(64)

And exit code is 0.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
eadscommented, Nov 23, 2016

I think the note would be best in: https://github.com/datafolklabs/cement/blob/master/doc/source/dev/cleanup.rst

Tangentially, dozens of news organizations used Elex to display election results for the US elections a few weeks ago, which in turn is built on Cement. Thanks so much for a kickass framework.

0reactions
derkscommented, Nov 23, 2016

@eads I’ve updated the doc there… and also added Elex to the list of Projects Built on Cement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Environment.ExitCode not respected when Main throws ...
If I remove the exception throw, the exit code is 1 as expected. I thought the very point of Environment.ExitCode was to specify...
Read more >
Environment.ExitCode not respected when void Main throws ...
I would have expected it to print the exception and have an exit code 1 . Actual Behavior: The exception is printed but...
Read more >
How to Fix 'Terminated With Exit Code 1' Error - Komodor
Exit Code 1 indicates that a container shut down, either because of an application failure or because the image pointed to an invalid...
Read more >
Bash command line exit codes demystified | Enable Sysadmin
In this article, I explain the handful of reserved error codes, how they can occur, and how to use them to figure out...
Read more >
Appendix E. Exit Codes With Special Meanings
127, "command not found", illegal_command, Possible problem with $PATH or a typo ... It may be anticipated that the range of unallotted exit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found