Describe the bug
After freaccmd is run a CTRL-C or SIGINT before the text Processing file: ./01 Hallowed.flac... is printed is ignored, and does not abort freaccmd.
Note: This could be a complexity from AppImage, and not freaccmd, I have seen similar questions around it. However it may be easy to test for.
To Reproduce
Steps to reproduce the behavior:
./freac-continuous-linux-x86_64.AppImage freaccmd -e opus ./01\ Hallowed.flac -o foo.opus
Hit CTRL-C before any text prints
Processing file: ./01 Hallowed.flac... appears
Conversion completes, printing done.
Expected behavior
After CTRL-C abort and return aborted. and return a nonzero returncode.
System (please complete the following information)
OS: Debian 11.3 on AMD64
CPU: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
RAM: 94.4GB
Version: ./freac-1.1.6-linux-x86_64.AppImage
Version: 21120192 Aug 6 13:30 ./freac-continuous-linux-x86_64.AppImage
Additional context
Note: This may be caused by an interaction with AppImage. Perhaps freac is not handling a SIGINT forwarded to it before it is run by the exec in the bash script somehow? However if bash was given a SIGINT without a trap set, it would exit with a message so this seems wrong. Perhaps the AppImage never forwards the SIGINT?
Describe the bug After freaccmd is run a
CTRL-C
orSIGINT
before the textProcessing file: ./01 Hallowed.flac...
is printed is ignored, and does not abort freaccmd.Note: This could be a complexity from AppImage, and not freaccmd, I have seen similar questions around it. However it may be easy to test for.
To Reproduce Steps to reproduce the behavior:
./freac-continuous-linux-x86_64.AppImage freaccmd -e opus ./01\ Hallowed.flac -o foo.opus
CTRL-C
before any text printsProcessing file: ./01 Hallowed.flac...
appearsdone.
Expected behavior After
CTRL-C
abort and returnaborted.
and return a nonzero returncode.System (please complete the following information)
./freac-1.1.6-linux-x86_64.AppImage
21120192 Aug 6 13:30 ./freac-continuous-linux-x86_64.AppImage
Additional context Note: This may be caused by an interaction with AppImage. Perhaps freac is not handling a SIGINT forwarded to it before it is run by the exec in the bash script somehow? However if bash was given a SIGINT without a trap set, it would exit with a message so this seems wrong. Perhaps the AppImage never forwards the SIGINT?