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

Moving an octocli command to the background clears the active line #290

Open
voronoipotato opened this issue Nov 6, 2023 · 2 comments
Open

Comments

@voronoipotato
Copy link

The bug

When I run octopus task wait it consistently prints out and clears the line. This is not what I would expect with --no-prompt. It should run, output new information as it gets it, and return 0 when completed.

Command to reproduce

octopus task wait $taskId --no-prompt -f basic -s $OCTOPUS_SPACE &
# outputs, then repeatedly clears the active line

Outcome

The terminal becomes unusable with this task backgrounded due to the manual clearing. It should not ever clear if --no-prompt is selected as I'm explicitly not seeking an interactive experience, I just want the output and the command to end when there is a result.

Versions

cli: latest

Octopus Server: all

@benPearce1
Copy link
Contributor

@voronoipotato Which OS are you seeing this problem?

I tested on MacOS and didn't see this behaviour.

@voronoipotato
Copy link
Author

voronoipotato commented Mar 19, 2024

I am using windows with git-bash.

GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants