You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A issue reported on FileOptimizer have come after some investigation on my side to be releated to Leanify 0.4.2 x86 and x64 precompiled binaries.
The problem happens on at least GZ and PNG files.
Launching it from pure command-line (cmd.exe) works OK, and properly returns errorlevel, but when launched using CreateProcess, GetExitCodeProcess code always returns 259 (STILL_ACTIVE), and what is more, asking it for completion with WaitForSingleObject INFINITE it gets stuck waiting.
It's because Leanify tries to pause if it's not launched from cmd on Windows so that user can see the result before it exit. For example, you can just drag a file to Leanify icon in explorer.
I'll make a fix to avoid pausing if any options are given.
A temporary workaround could be setting PROMPT environment variable to any non empty value.
A issue reported on FileOptimizer have come after some investigation on my side to be releated to Leanify 0.4.2 x86 and x64 precompiled binaries.
The problem happens on at least GZ and PNG files.
Launching it from pure command-line (cmd.exe) works OK, and properly returns errorlevel, but when launched using CreateProcess, GetExitCodeProcess code always returns 259 (STILL_ACTIVE), and what is more, asking it for completion with WaitForSingleObject INFINITE it gets stuck waiting.
Details are here: https://sourceforge.net/p/nikkhokkho/discussion/general/thread/d04bc925/
The text was updated successfully, but these errors were encountered: