Sometimes, I get this error when trying to run WSL:
nsenter: failed to parse pid: '48
49'
It is defiantly something related to that package (systemd) since it never happened before I install it.
Now the way to solve it is to open PowerShell and run wsl --shutdown and then it loads OK.
The weird part is that I'm trying to run it from a bat script and shutdown the WSL every time I run the script using
Weirdest thing ever,
Sometimes, I get this error when trying to run WSL:
It is defiantly something related to that package (systemd) since it never happened before I install it. Now the way to solve it is to open PowerShell and run
wsl --shutdown
and then it loads OK.The weird part is that I'm trying to run it from a bat script and shutdown the WSL every time I run the script using
or this:
But the wsl still wont come up, only when I run then
wsl --shutdown
command manually on PowerShell.Any thoughts or a way around it?