N
N
neuroepoc2018-04-02 19:46:45
Python
neuroepoc, 2018-04-02 19:46:45

The script ends with exit code -4. does this number have a standard equivalent of some kind of exception, error?

everything that happens before the import of the library is executed, everything that happens after is not executed. the script ends with exit code -4
for example:

print('1')
import biblioteka
print('2')

will display only the number "1" no errors appear in the console.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2018-04-02
@dimonchik2013

use try...except and throw an error

N
neuroepoc, 2018-04-03
@neuroepoc

I ran the script from the command line and got the error "Invalid instruction (core dumped)" or "illegal instruction (core dumped)" apparently exit code -4 corresponds to this error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question