chrissimpkins / Crunch

Insane(ly slow but wicked good) PNG image optimization
Other
3.35k stars 147 forks source link

Ignore Python std lib warnings #101

Closed chrissimpkins closed 2 years ago

chrissimpkins commented 2 years ago

Closes #100

This is heavy handed but I can't get selective ignores to function with Python std lib warnings methods.

chrissimpkins commented 2 years ago

It looks like there will be portability issues here...

https://stackoverflow.com/questions/4303128/how-to-use-multiple-arguments-for-awk-with-a-shebang-i-e

https://www.gnu.org/software/coreutils/manual/html_node/env-invocation.html#g_t_002dS_002f_002d_002dsplit_002dstring-usage-in-scripts

chrissimpkins commented 2 years ago

Identified a multiprocessing.Lock workaround/fix that addresses the issue. Closing