I am beginner in Python. I tried to develop a simple currency program but I have a problem. The program should calculate money when the calculate button is clicked(like an exchange). But I can't do it. PyCharm writes "Process finished with exit code 1"
In a Unix/Linux operating system, when an application terminates with Exit Code 1, the operating system ends the process using Signal 7, known as SIGHUP. If you see containers terminated with Exit Code 1, you'll need to investigate the container and its applications more closely to see what caused the failure.
exit code (0) means an exit without errors or issues. exit code (1) means there was some issue / problem which caused the program to exit. The effect of each of these codes can vary between operating systems, but with Python should be fairly consistent.
The "Exit Code 1" is simply a "Generic Exit Code" which means the job failed and this can be for any reason.
"process finished with exit code 0" -! It means that there is no error in your code. Nothing to worry about. YouTrack Workflow commented 27 Sep 2021 09:00.
0
and 1
are exit codes, and they are not necessarily python specific, in fact they are very common.
exit code (0)
means an exit without errors or issues.
exit code (1)
means there was some issue / problem which caused the program to exit.
The effect of each of these codes can vary between operating systems, but with Python should be fairly consistent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With