faressoft / faressoft/terminalizer

Exiting recording with CTRL-D gives error in powershell

Open
#147 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.2k
Forks
520
PR merge metrics
No merged PRs in 30d

Description

Trying to end recording with CTRL-D in powershell gives error. Only `exit` worked.

```powershell
$ terminalizer play demo.yml
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

Your Profile is located here:
C:\Users\xxx\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
Now Run:
C:\Users\xxx\Documents\PowerShell\Microsoft.PowerShell_profile.ps1

Loading personal and system profiles took 721ms.

(base) PS C:\Users\xxx\Documents\WindowsPowerShell> cd F:\myRepos\_gh_eabase\mt4pycon\examples
(base) PS F:\xxx\examples> python.exe .\exa1.py
Traceback (most recent call last):
File ".\exa1.py", line 5, in
import pywinauto
ModuleNotFoundError: No module named 'pywinauto'

(base) PS F:\xxx\examples> ^D
ΓÖª : The term 'ΓÖª' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ΓÖª
+ ~
+ CategoryInfo : ObjectNotFound: (ΓÖª:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by running `terminalizer play demo.yml` in Windows PowerShell and sending CTRL-D after a command. Trace the recording or playback exit handling from the `terminalizer play` entry point; done means CTRL-D ends recording cleanly in PowerShell without treating the control character as a command.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.