Reset console window title after `run` executes a process

Description

On Windows at least, it looks to me like certain executables like to set the console title (looking at you npm) while running, and the title doesn't get reset after the run is complete.

For example, if I run `npm version` in cmd.exe directly the title will change during execution, but gets reset afterwards. If I do the name thing via box.exe ( `!npm version`) the console window title will change to `npm` and it will not get reset afterwards. This has finally annoyed me enough to raise an issue.

I am not sure of the best solution - an easy one would just be to set the title after `run` completes, but that might be too rigid.

Assignee

Brad Wood

Reporter

John Berquist

Labels

None

Affects versions

None

Fix versions

Configure