question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI stuck on prompt when running in non-interactive mode

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
waldekmastykarzcommented, Jan 9, 2018

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.

1reaction
VelinGeorgievcommented, Jan 8, 2018

Agree @waldekmastykarz, this should be the way to go. I will have a look at that within the next few days.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found