ClarkuCSCI / pydiode

Transfer data through a unidirectional network (i.e., a data diode)
MIT License
2 stars 0 forks source link

Handle Cancellation Properly When Using PyInstaller #20

Closed peterstory closed 1 week ago

peterstory commented 1 week ago

Previously, we used exit codes to differentiate between user-initiated cancellation and automatic termination due to stuck pipelines. However, when the app is run using PyInstaller, non-zero exit codes are sometimes replaced with -1. Thus, our code should internally keep track of whether a user requested that a process pipeline be terminated.