Scoop, although very useful and nice to use,
uses a (subjectively) terrible shim.exe
file to redirect commands from scoop\shims\app.exe to scoop\apps\app\current\app.exe, because:
The last issue making interaction with REPLs and long-running apps practically impossible, and having never been fixed, I set out to improve them with this repository.
shim.cpp is:
.shim file in a simpler way.Ctrl+C are ignored, and therefore handled directly by the spawned child.
Your processes and REPLs will no longer close when pressing Ctrl+C.Note: This project is not affiliated with Scoop.
Building:
clang++: Makefile is supportedninja: ninja -C build shim.exemsbuild: msbuild /p:Configuration=Release .\build\shim.vcxprojReplace any .exe in scoop\shims by shim.exe.
An additional script, repshims.bat, is provided. It will replace all .exes in the user's Scoop directory
by shim.exe.
SPDX-License-Identifier: MIT OR Unlicense
PowerShell
46.0%
C++
43.5%
Zig
6.3%
Makefile
2.8%
Batchfile
1.5%
Scoop, although very useful and nice to use,
uses a (subjectively) terrible shim.exe
file to redirect commands from scoop\shims\app.exe to scoop\apps\app\current\app.exe, because:
The last issue making interaction with REPLs and long-running apps practically impossible, and having never been fixed, I set out to improve them with this repository.
shim.cpp is:
.shim file in a simpler way.Ctrl+C are ignored, and therefore handled directly by the spawned child.
Your processes and REPLs will no longer close when pressing Ctrl+C.Note: This project is not affiliated with Scoop.
Building:
clang++: Makefile is supportedninja: ninja -C build shim.exemsbuild: msbuild /p:Configuration=Release .\build\shim.vcxprojReplace any .exe in scoop\shims by shim.exe.
An additional script, repshims.bat, is provided. It will replace all .exes in the user's Scoop directory
by shim.exe.
SPDX-License-Identifier: MIT OR Unlicense
PowerShell
46.0%
C++
43.5%
Zig
6.3%
Makefile
2.8%
Batchfile
1.5%