Skip to content

Instantly share code, notes, and snippets.

@irizwaririz
Last active February 12, 2024 16:44
Show Gist options
  • Save irizwaririz/623602b0c05eaef0e0bb7c9b36779cd1 to your computer and use it in GitHub Desktop.
Save irizwaririz/623602b0c05eaef0e0bb7c9b36779cd1 to your computer and use it in GitHub Desktop.
VBScript to instantiate WSL with simple terminal (st) as the terminal emulator (assuming there is an Xserver). Taken from: https://www.reddit.com/r/bashonubuntuonwindows/comments/64rtcl/comment/dg55c6s/?utm_source=share&utm_medium=web2x&context=3
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "C:\Windows\System32\Bash.exe ~ -ic st", 0
Set WshShell = Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment