J'utilise Windows 10's **Windows Subsystem for Linux** `bash` (Ubuntu via Microsoft Store) in the last few weeks, no problem, awesome feature, couldn't be happier.
But today it suddenly a cessé de fonctionner. Typing `bash` just does nothing on the ligne de commande (`cmd` and PowerShell), as if it would be waiting for something. It doesn't crash or output an error message, but just keeps showing a blinking cursor.
(Cursor not visible on screenshot, it is a blinking `_` on the next line after `bash`)
Task manager shows both ligne de commandes at 0% CPU with a "Microsoft Bash Launcher" process also at 0% CPU:
Une idée how to debug and fix this?
Mise à jour : After a few manual restarts and one "crash" (Je pense `explorer.exe` stopped, and didn't really come back after killing the process after a prompt) it now works again for now.
I had the problem a few weeks before (where I fixed it be reinstalling WSL), so Je suppose it will reappear sooner or later.
WSL Bash doesn't start
Re: WSL Bash doesn't start
Try to do a full reboot of Windows10, hold Shift, et cliquez sur “Restart.”
Normal reboot/shutdown action in the menu Démarrer will not shutdown Windows 10 fully, for the “fast boot” mechanism saves memory from the last session. The other answer mentioned changing system settings which make Windows 10 doing a full reboot, ça fonctionne, but unnecessary.
By holding the Shift key and cliquez sur le “Restart” in the menu Démarrer, Windows 10 will go into advanced restart mode, choose “Shutdown” from the menu. Then start normally again.
Normal reboot/shutdown action in the menu Démarrer will not shutdown Windows 10 fully, for the “fast boot” mechanism saves memory from the last session. The other answer mentioned changing system settings which make Windows 10 doing a full reboot, ça fonctionne, but unnecessary.
By holding the Shift key and cliquez sur le “Restart” in the menu Démarrer, Windows 10 will go into advanced restart mode, choose “Shutdown” from the menu. Then start normally again.