简体   繁体   中英

Powershell displays extra characters in output

I'm using Otto to setup a dev environment, and working from Powershell. Powershell inserts extra characters instead of what seems like it should be colors in the output. How can I change the Powershell configuration to display the output properly?

PS C:\dev\otto\discourse> otto dev
←[0m←[1m==> Creating local development environment with Vagrant if it doesn't exist...←[0m
←[0m   

I think I found a workaround for my problem. Using PowerShell ISE seems to display the error messages in a much more readable format.

In PowerShell

In PowerShell ISE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM