CLI stuck on prompt when running in non-interactive mode
See original GitHub issueWhen executing a command that yields a prompt, such as spo app retract, when executed in non-interactive mode, the CLI doesn’t render the prompt in the shell. Instead it hangs. If the prompt is suppressed using the --confirm option, the command works as expected. Verify if this is a limitation in Vorpal or a bug in the CLI implementation.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Powershell test for noninteractive mode - Stack Overflow
I stuck a read-host in the script to ask the user for something and when it ran in noninteractive mode, boom, terminating error....
Read more >Command prompt hangs until keypress? - Super User
1. I have quick edit mode off, and experience this often in node. · I have disabled quick edit mode so will keep...
Read more >Allow running (or always run) powershell script tasks with the
When a powershell command attempts to prompt for user input the task just hangs (as there is no user to provide the input...
Read more >Command Line Interface - Latest WildFly Documentation
In non interactive mode (executing a script or a list of commands), when a timeout occurs, an exception is thrown and the CLI...
Read more >dotnet watch command - .NET CLI | Microsoft Learn
Runs dotnet watch in non-interactive mode. Use this option to prevent console input from being requested. When hot reload is enabled and a ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Rather than looking at the fork, have a look at the PR @VelinGeorgiev. I’m also planning to merge all PRs in a couple of days so we can give them a try in a beta version.
Agree @waldekmastykarz, this should be the way to go. I will have a look at that within the next few days.