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

Issue 175 support powershell #186

Merged
merged 10 commits into from
Jun 28, 2021
Merged

Issue 175 support powershell #186

merged 10 commits into from
Jun 28, 2021

Conversation

eldipa
Copy link
Collaborator

@eldipa eldipa commented Jun 28, 2021

Closes #175

@eldipa eldipa added this to the 10.1.0 milestone Jun 28, 2021
eldipa added 10 commits June 28, 2021 01:26
Pexpect already has a spawn object based on Subprocess: PopenSpawn.

However this class is not 100% compatible with the PtySpawn (the one
behind pexpect.spawn).

To avoid putting a lot of conditional code we create a PopenSpawnExt
layer on top of PopenSpawn and emulate all the missing behaviors (to
some extend).
Track how many lines we sent in the last call to _exec_and_wait().
@eldipa eldipa force-pushed the Issue-175-Support-Powershell branch from 0490ad9 to d66c327 Compare June 28, 2021 01:26
@eldipa eldipa merged commit 430bdc6 into master Jun 28, 2021
@eldipa eldipa deleted the Issue-175-Support-Powershell branch June 28, 2021 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for PowerShell
1 participant