DEV Community

loading...
Xpirit

Launch WSL bash prompt from Tower

jessehouwing profile image Jesse Houwing Originally published at jessehouwing.net on ・1 min read

Launch WSL bash prompt from Tower

When you launch a terminal from Tower, it launches an included MingW bash shell. Now that Windows 10 ships with the Windows Subsystem for Linux it would be nice to use that bash shell instead.

My first attempts at launching WSL failed miserably. It looks like Windows Filesystem Redirection causes to not see wsl.exe or bash.exe because Tower is a 32-bit program.

After a number of tries, I found that you can use the sysnative filesystem redirection point to escape the 32 bit world:

Title: Bash (WSL)

Path: C:\WINDOWS\sysnative\wsl.exe

Arguments:

Launch WSL bash prompt from Tower

Launch Windows Subsystem for Linux from Tower

Launch WSL bash prompt from Tower

Launching the Windows Subsystem for Linux bash prompt from Tower

Discussion (0)

pic
Editor guide