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

Power-fx Repl: Ctrl-C doesn't exit cleanly #750

Closed
filcole opened this issue Oct 19, 2023 · 8 comments
Closed

Power-fx Repl: Ctrl-C doesn't exit cleanly #750

filcole opened this issue Oct 19, 2023 · 8 comments
Labels
bug Something isn't working power-fx

Comments

@filcole
Copy link

filcole commented Oct 19, 2023

I'm not able to exit from Power-Fx repl using Ctrl-C

image

I'm using PowerShell 5 in Windows terminal
image

I have to close the terminal window

@rajyraman
Copy link

+1. I cannot even type any Power Fx expression in REPL. It is just stuck.

@petrochuk petrochuk added the bug Something isn't working label Oct 20, 2023
@snizar007
Copy link
Contributor

Thanks for your feedback. To exit from the REPL, use Exit() function with capital 'E'.

@BetimBeja
Copy link

I have the same issue. The terminal is frozen and accepts no commands. I even tried to type the command without having the feedback, but it is just stuck there.

@BetimBeja
Copy link

I can use pac power-fx run --file filename --echo True, but pac power-fx repl freezes. I tried creating an environment in the US but it is the same.

Power-FX.REPL.mp4

@snizar00
Copy link

Thank you. We are reviewing this.

@snizar007
Copy link
Contributor

I can use pac power-fx run --file filename --echo True, but pac power-fx repl freezes. I tried creating an environment in the US but it is the same.

Power-FX.REPL.mp4

Hi @BetimBeja - Can you try using "`pac power-fx run --file filename --echo" without True?
Also, make sure you have PAC CLI version 1.28 installed.
Let me know or DM me.

Thanks,
ShafQat

@BetimBeja
Copy link

@snizar007 --echo works correctly without specifying the True value
image

The REPL issue was solved when installing pac as a dotnet tool. Or using the vscode extension. I only have the issue with the MSI version.

@snizar007
Copy link
Contributor

Glad to have this working for you. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working power-fx
Projects
None yet
Development

No branches or pull requests

6 participants