mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
We put the CLI in unix mode so if we send it `\r\n` (the default in windows) then it'll spit out extra "you are on a line continuation" characters (`|`). Instead, we can use `\n` directly and everything works. I've also added a timeout to the reads from the CLI because it makes the tests easier to debug. Original commit: elastic/x-pack-elasticsearch@69f69f4092