Open regystro opened 1 month ago
I think this is similar to #6225
This is indeed quite annoying.
I noticed that the other available shim.exe bundled with scoop doesn't seem to have this problem. So as a temporary workaround you could do:
scoop config shim 71
scoop reset *
Bug Report
I'm opening this report here instead of the "extras" package because I think it's not package specific, but generic shim behaviour.
Current Behavior
When calling the executable without full path (therefore shim is used), it doesn't respect START /WAIT command.
Both WizTree and Everything support START /WAIT in order to force waiting until the execution is finished. Useful in batch files if you need to perform sequential commands and expect the exe to finish before. Example:
In this example, it doesn't wait for WizTree to finish indexing and immediately executes the next batch line.
Expected Behavior
The shim should pass the correct "context" to the executable, in order to wait until the task is done,
Additional context/output
The same happens with Everyting package, so it seems shim related.
Possible Solution
As of now, the only solution I've found is to bypass the shim and directly call the package executable, this way:
System details
Windows version: 10. Also tested in 11
OS architecture: 64bit
PowerShell version:
Scoop Configuration