-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Description
Steps to Reproduce
- Run
flutter upgradeon Windows, when there is an update. - Then you can see cowsay and some errors. (Commands can be added to the profile to reproduce)
- But the update is performed normally.
Logs
PS C:\xx> flutter upgrade
Upgrading Flutter to 3.7.3 from 3.7.2 in C:\opt\flutter...
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine 248290d6d50a1bf1a6a246544347c03acda867a5...
--------------
< Hello world! >
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Set-PSReadLineOption: C:\Users\Hex57\Documents\PowerShell\Microsoft.PowerShell_profile.ps1:13
Line |
13 | Set-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionVi ��
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The predictive suggestion feature cannot be enabled because the console output doesn't support virtual terminal
| processing or it's redirected.
Expanding downloaded archive...
Reason
I know it's because of my profile(in $profile) of my Powershell.
There are some scripts need to be executed in an interactive environment.
This is part of my $profile:
echo "Hello world!" # instead of `cowsay "Hello world!"`
Set-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionViewStyle ListViewBut it is not necessary to be executed when updating flutter.
Metadata
Metadata
Assignees
Labels
No labels