EasyCrypt / easycrypt

EasyCrypt: Computer-Aided Cryptographic Proofs
MIT License
320 stars 49 forks source link

internal: handle CTRL+C properly w.r.t. Why3 server #597

Closed strub closed 3 months ago

strub commented 3 months ago

For that purpose, we now start Why3 manually and connect to it as if it were an external Why3 server instance.

The Why3 server is put in its own process groups and does not receive the signals (SIGINT, SIGTERM e.g.) directly received by EasyCrypt.

The Why3 server is started s.t. it shutdowns itself gracefully when EasyCrypt disconnects from it.