fix: add note for how to close stdin pipe on windows (#4657)

* fix: add note for how to close stdin pipe on windows

* Apply suggestions from code review

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
pull/4653/head^2
Jeffrey Smith II 2022-12-01 11:11:10 -05:00 committed by GitHub
parent 8babf127e4
commit c745b9aebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -122,7 +122,8 @@ option task = {
# ... Task script ...
# <ctrl-d> to close the pipe and submit the command
# Linux & macOS: <ctrl-d> to close the pipe and submit the command
# Windows: <enter>, then <ctrl-d>, then <enter> to close the pipe and submit the command
```
## Create a task using the InfluxDB API

View File

@ -26,7 +26,8 @@ influx query --file /path/to/query.flux
influx query - # Return to open the pipe
data = from(bucket: "example-bucket") |> range(start: -10m) # ...
# ctrl-d to close the pipe and submit the query
# Linux & macOS: <ctrl-d> to close the pipe and submit the command
# Windows: <enter>, then <ctrl-d>, then <enter> to close the pipe and submit the command
```
{{% note %}}