jonsequitur / jonsequitur/dotnet-repl
Unable to launch from git-bash
- Dominant language
- C#
- Stars
- 844
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
doing dotnet repl from git bash on windows, I get this exception:
```
Unhandled exception: System.InvalidOperationException: Cannot see if a key has been pressed when either application does not have a console or when console input has been redirected from a file. Try Console.In.Peek.
at System.Console.get_KeyAvailable()
at RadLine.DefaultInputSource.IsKeyAvailable() in /_/src/RadLine/Internal/DefaultInputSource.cs:line 19
at RadLine.InputBuffer.ReadKeyFromSource(Boolean wait, CancellationToken cancellationToken) in /_/src/RadLine/Internal/InputBuffer.cs:line 114
at RadLine.InputBuffer.ReadKey(Boolean multiline, CancellationToken cancellationToken) in /_/src/RadLine/Internal/InputBuffer.cs:line 35
at RadLine.LineEditor.ReadLine(LineEditorState state, CancellationToken cancellationToken) in /_/src/RadLine/LineEditor.cs:line 161
at RadLine.LineEditor.ReadLine(CancellationToken cancellationToken) in /_/src/RadLine/LineEditor.cs:line 66
at dotnet_repl.Repl.RunAsync(InteractiveDocument notebook, Boolean exitAfterRun) in C:\projects\dotnet-repl\src\dotnet-repl\Repl.cs:line 132
at dotnet_repl.CommandLineParser.StartRepl(StartupOptions options, IAnsiConsole ansiConsole, CancellationToken cancellationToken) in C:\projects\dotnet-repl\src\dotnet-repl\CommandLineParser.cs:line 109
at System.CommandLine.Invocation.CommandHandler.GetExitCodeAsync(Object value, InvocationContext context)
at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass27_0.<b__1>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__24_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<b__0>d.MoveNext()
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.