dangerzone/dangerzone/isolation_provider
Alex Pyrgiotis cd4cbdb00a
isolation_provider: Get exit code without timing out
Get the exit code of the spawned process for the doc-to-pixels phase,
without timing out. More specifically, if the spawned process has not
finished within a generous amount of time (hardcode to 15 seconds),
return UnexpectedConversionError, with a custom message.

This way, the happy path is not affected, and we still make our best to
learn the underlying cause of the I/O error.
2024-04-24 14:36:14 +03:00
..
__init__.py Split isolation providers into their own .py files 2023-01-25 14:19:05 +00:00
base.py isolation_provider: Get exit code without timing out 2024-04-24 14:36:14 +03:00
container.py isolation_provider: Terminate doc-to-pixels proc 2024-04-24 14:36:14 +03:00
dummy.py isolation_provider: Terminate doc-to-pixels proc 2024-04-24 14:36:14 +03:00
qubes.py isolation_provider: Terminate doc-to-pixels proc 2024-04-24 14:36:14 +03:00