Skip to content

fix: use platform preferred case in launcher#1449

Merged
connor4312 merged 1 commit intomicrosoft:mainfrom
xai:issues/1448
Nov 18, 2022
Merged

fix: use platform preferred case in launcher#1449
connor4312 merged 1 commit intomicrosoft:mainfrom
xai:issues/1448

Conversation

@xai
Copy link
Contributor

@xai xai commented Nov 17, 2022

Launching NodeJS processes on Windows requires us to handle casing of drive letters carefully because NodeJS is case sensitive.

The already existing utility function urlUtils.platformPathToPreferredCase() is used to adjust paths of the executable and the current working directory.

Fixes #1448

Contributed on behalf of STMicroelectronics

Signed-off-by: Olaf Lessenich olessenich@eclipsesource.com

Launching NodeJS processes on Windows requires us to handle casing of
drive letters carefully because NodeJS is case sensitive.

The already existing utility function `urlUtils.platformPathToPreferredCase()`
is used to adjust paths of the executable and the current working
directory.

Fixes microsoft#1448

Contributed on behalf of STMicroelectronics

Signed-off-by: Olaf Lessenich <olessenich@eclipsesource.com>
@xai
Copy link
Contributor Author

xai commented Nov 18, 2022

@microsoft-github-policy-service agree [company="EclipseSource"]

@xai
Copy link
Contributor Author

xai commented Nov 18, 2022

@microsoft-github-policy-service agree company="EclipseSource"

@connor4312
Copy link
Member

lgtm, thanks!

@connor4312 connor4312 merged commit 4203080 into microsoft:main Nov 18, 2022
@aeschli aeschli added this to the November 2022 milestone Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NodeJS code is not executed on Windows due to inconsistent casing of drive letter

4 participants