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

Escape characters break interactive prompts in influxd upgrade in PowerShell #21838

Closed
danxmoran opened this issue Jul 13, 2021 · 0 comments · Fixed by #21839
Closed

Escape characters break interactive prompts in influxd upgrade in PowerShell #21838

danxmoran opened this issue Jul 13, 2021 · 0 comments · Fixed by #21839
Assignees
Labels
area/cli area/2.x OSS 2.0 related issues and PRs kind/bug

Comments

@danxmoran
Copy link
Contributor

Steps to reproduce:
Originally reported in #21534.

  1. Run influxd upgrade from PowerShell

Expected behavior:
The command works the same as in bash.

Actual behavior:

  1. Bash escape characters are printed to the screen
  2. The password-prompt always fails to complete because the escape characters & newline we've hard-coded get registered as the re-entry of the password

The new code in influx-cli seems to have fixed this problem for its own interactive prompts. Hopefully reusing its utilities will help us here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli area/2.x OSS 2.0 related issues and PRs kind/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant