Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying environment values by rules #1074

Open
WltrMrks4S opened this issue Feb 6, 2024 · 0 comments
Open

Modifying environment values by rules #1074

WltrMrks4S opened this issue Feb 6, 2024 · 0 comments

Comments

@WltrMrks4S
Copy link

Feature Request

Problem statement.
I have an issue when using environment variables for extending them with additional values to a new environment variable used by the application to start. Windows environment variables consisting backward slashes as path separator. But some applications can not use backward slashes as path separator. So there must be a possibility to replace these characters by other ones.

E.g. %ProgramData%/OtherDirectory expands to C:\ProgramData/OtherDirectory but the application (e.g. rotatelogs.exe of Apache HTTPD) only can handle forward slashes as path separator.

Describe the solution you'd like.
The solution could be to use rules for modifying expanded variables.
Preferably regular expression could be used for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant