Comments (4)
Thank you for reporting.
The handle is invalid
is the error message when Expect.lua failed to call the Windows classic console API.
Expect.lua calls GetConsoleScreenBufferInfo which is one of the classic console API instead of reading the standard output from the process started by spawn function like linux's expect tools. This API works only on the Windows classic console or its compatible terminal (Command-Prompt, WindowsTerminal, WezTerm and so on) .
I suspect MSYS2 and GitHub runner PowerShell do not have compatiblity with the Windows classic console.
If it is right, sorry, the current version of Expect.lua can not work under them.
from expect.
Thank you for your explanation.
Do you plan on trying to expand compatibility or should I just close the issue? I guess I will look for a way for a GitHub runner to open a compatible terminal.
from expect.
Sorry, it is probably difficult for me to support other terminals. Would you please close this issue ?
from expect.
No problem!
from expect.
Related Issues (20)
- Not working on git bash terminal HOT 5
- How to insert date/time into script? HOT 5
- Any other way of simulating the Enter key? HOT 10
- Help me ssh Auto input password with Expect HOT 4
- Redirect output? HOT 1
- Distribution via Chocolatey HOT 1
- issue using "scp" accept only single quoted arguments (instead of double quoted) HOT 1
- scp and ssh seems to impact earlier sendln commands HOT 5
- Please consider signing exe file so it can be used under Windows without complains HOT 2
- error message [syntax error] using example in Windows 10 HOT 6
- loop condition for expect HOT 4
- How to pass batch variables to expect script? HOT 6
- how to suppress output lines works HOT 5
- Provide installers for package managers such as Scoop and Chocolatey HOT 3
- Capture output from program into LUA varaible? HOT 3
- Timeout seems does not work properly HOT 3
- How use another port in ssh? HOT 8
- Automatic logout happening? HOT 6
- what's the principle of this project? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expect.