mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	allow conditionally setting environment variables
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/bin/cexec.cmd
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/bin/cexec.cmd
									
									
									
									
										vendored
									
									
								
							| @@ -55,12 +55,12 @@ set "feFlagName=%feFlagName% " | ||||
| echo %CMDER_USER_FLAGS% | find /i "%feFlagName%">nul | ||||
| if "%ERRORLEVEL%" == "0" ( | ||||
|   if "%feNOT%" == "false" ( | ||||
|     call %feCommand% %feParam% | ||||
|     endlocal && call %feCommand% %feParam% | ||||
|     exit /b 0 | ||||
|   ) | ||||
| ) else ( | ||||
|   if "%feNOT%" == "true" ( | ||||
|     call %feCommand% %feParam% | ||||
|     endlocal && call %feCommand% %feParam% | ||||
|     exit /b 0 | ||||
|   ) | ||||
| ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user