[GH-ISSUE #4686] Supress spinner option or add file out option #2949

Open
opened 2026-04-12 13:19:38 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @tyson-nw on GitHub (May 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4686

I am using a powershell script to direct the ollama output to a file. However, when I do the first line is always failed to get console mode for stdout: The handle is invalid. If I watch the file as it is written, as soon as the spinner shows I get the error added.

I would request that either there is a built in parameter that directs the output to a file. Or that there is a way to supress the spinner so I don't get this error.

Originally created by @tyson-nw on GitHub (May 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4686 I am using a powershell script to direct the ollama output to a file. However, when I do the first line is always `failed to get console mode for stdout: The handle is invalid`. If I watch the file as it is written, as soon as the spinner shows I get the error added. I would request that either there is a built in parameter that directs the output to a file. Or that there is a way to supress the spinner so I don't get this error.
GiteaMirror added the feature request label 2026-04-12 13:19:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2949