-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Powershell snippets run in reverse order and do not complete #708
Comments
Hello @RichardBurt65 👋 Thank you a lot for your issue 👍 I will take a look at it in order to find and fix the trouble. |
Hello @RichardBurt65 Have you some time to do a test? Could you run this command :
=> Before running the snippet. Does the snippet is pasted in good order? |
I'll try it in the morning and let you know.
|
Morning Arnaud,
Screenshot attached of results. Snippet still doesn’t run but at least it’s in the correct order (barring the excess >> signs)
|
Good Morning ☀️ Thank you a lot for your feedback! Good news if commands are now in correct order : seems to be a "bug" inside PowerShell due to carriage return characters between macOS and Windows. I will implement a hack inside WebSSH. |
Try again with attachment.
|
I think attachments could only be put from GitHub. |
Does the snippet is executed when pressing ENTER after the last statement? |
Yes
|
If you add an empty line to the end of tour snippet does it execute it? Snippets should not execute statements if they are no carriage return at the end because some users don't want to launch them automatically. |
The snippet already has an empty end of line.
|
Last question please : instead of executing the snippet => when you copy your statements and paste them to the terminal, does the paste works as expected? |
@RichardBurt65 Please also try out WebSSH 19.7 : You will also need to change the default carriage return to "\r\n" : On your connection terminal setting. |
Will do once I can get it installed (on the latest public Ventura beta) which won’t install apps via TestFlight)
|
I will release WebSSH 19.7 in a few days so you will be able to test it through the App Store |
Many thanks.
|
After installing todays Ventura latest beta and WebSSH beta I can now confirm that the powershell issue has been tested and fixed. Perfect and many thanks. |
Hello @RichardBurt65 👋 Great to hear that! Many thanks for your feedback 🙏 |
Bug description
Powershell .ps1 snippets run in reverse order and do not complete
Screenshots
Steps to reproduce
The text was updated successfully, but these errors were encountered: