influxdata / influxdata/influx-cli

Setting INFLUX_CONFIGS_PATH on Windows for path with space must be set via Windows System Properties

Open
#361 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

I'm opening this for a customer who notes that in order to set `INFLUX_CONFIGS_PATH` on Windows:
>The path must not be enclosed in quotes

and
>the path can have whitespaces only if the env variable is set via Windows System Properties (not via the "set" command on the shell)

I cannot reproduce the second behavior using CLI v2.2.1 on Win 10.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the INFLUX_CONFIGS_PATH behavior on Windows 10 with a path containing spaces, comparing the shell "set" command with Windows System Properties using CLI v2.2.1. Trace how the CLI reads this environment variable and document whether both forms should work, along with a testable fix or confirmed reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.