Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Oct 11, 2019

This commit updates the InstallPlugins task to use the plugin batch file as the binary when installing plugins. Previously,
plugin installation used cmd as the binary, delegating to the batch file as an argument. This can cause issues where a plugin
writes warnings to stderr, such as ingest-attachmeent, which triggers the InstallPlugins task to throw an exception.

Remove IsMono property and replace with IsWindows property, using RuntimeInformation. Ultimately, this property is used to determine
the platform running on, specifically whether Windows or not.

This commit updates the InstallPlugins task to use the plugin batch file as the binary when installing plugins. Previously,
plugin installation used cmd as the binary, delegating to the batch file as an argument. This can cause issues where a plugin
writes warnings to stderr, such as ingest-attachmeent, which triggers the InstallPlugins task to throw an exception.

Remove IsMono property and replace with IsWindows property, using RuntimeInformation. Ultimately, this property is used to determine
the platform running on, specifically whether Windows or not.
@russcam
Copy link
Contributor Author

russcam commented Oct 11, 2019

I'm going to merge this in, to unblock efforts on https://github.com/elastic/elasticsearch-net

@russcam russcam merged commit aa0396e into master Oct 11, 2019
russcam added a commit to elastic/elasticsearch-net that referenced this pull request Oct 11, 2019
Relates: elastic/elasticsearch-net-abstractions#23

This commit updates the Elastic Abstractions packages
russcam added a commit to elastic/elasticsearch-net that referenced this pull request Oct 11, 2019
Relates: elastic/elasticsearch-net-abstractions#23

This commit updates the Elastic Abstractions packages
russcam added a commit to elastic/elasticsearch-net that referenced this pull request Oct 11, 2019
Relates: elastic/elasticsearch-net-abstractions#23

This commit updates the Elastic Abstractions packages

(cherry picked from commit cb97bc4)
@Mpdreamz Mpdreamz deleted the fix/plugin-bat-windows branch May 5, 2020 17:12
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.

2 participants