mirror of
https://github.com/cmderdev/cmder.git
synced 2025-06-16 14:47:49 +08:00
Ensure use the system find and findstr command instead find/findstr from path. Fix #1959
This commit is contained in:
2
vendor/bin/cexec.cmd
vendored
2
vendor/bin/cexec.cmd
vendored
@ -52,7 +52,7 @@ set "feFlagName=%feFlagName% "
|
||||
:: echo %feCommand%
|
||||
:: echo %feParam%
|
||||
:: echo.
|
||||
echo %CMDER_USER_FLAGS% | find /i "%feFlagName%">nul
|
||||
echo %CMDER_USER_FLAGS% | %WINDIR%\System32\find /i "%feFlagName%">nul
|
||||
if "%ERRORLEVEL%" == "0" (
|
||||
if "%feNOT%" == "false" (
|
||||
endlocal && call %feCommand% %feParam%
|
||||
|
Reference in New Issue
Block a user