Skip to content

GPII-2578: Case-insensitive process matching for Windows.#600

Closed
stegru wants to merge 5 commits intoGPII:masterfrom
stegru:GPII-2578
Closed

GPII-2578: Case-insensitive process matching for Windows.#600
stegru wants to merge 5 commits intoGPII:masterfrom
stegru:GPII-2578

Conversation

@stegru
Copy link
Member

@stegru stegru commented Mar 20, 2018

Process names are case-insensitive on Windows.

Goes with GPII/windows#169

@gpii-bot
Copy link

CI job failed: https://ci.gpii.net/job/universal-tests/771/

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/universal-tests/772/

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/universal-tests/782/

Copy link
Member

@klown klown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

var commandNameLower = that.options.ignoreCase && commandName.toLowerCase();
return fluid.accumulate(procArray, function (aProcInfo, matchingProcs) {
if (aProcInfo.command === commandName) {
var match = aProcInfo.command === commandName ||
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very succinct. Pay no attention to my comment on the other pull request about context awareness. This is the way to do it via a configurable option.

@gtirloni
Copy link
Contributor

gtirloni commented Jun 1, 2018

ok to test

@gpii-bot
Copy link

gpii-bot commented Jun 1, 2018

CI job failed: https://ci.gpii.net/job/universal-tests/882/

@stegru
Copy link
Member Author

stegru commented Jun 26, 2018

closing: merged into #534

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.

4 participants