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

Posted on by:

jessehouwing profile

Jesse Houwing

@jessehouwing

I love good coffee, meaning strong, dark espresso! Regular Expressions are like word-puzzles to me, as are LINQ queries. I take pictures everywhere I go. Husband of 1, father of 2.

Xpirit

Xpirit helps you solve your IT problems. We act in multiple roles, from boardroom advisor, coding architect and lead developer to trainer and coach.

Discussion

markdown guide