All Projects → int128 → Wslexec

int128 / Wslexec

Licence: apache-2.0
A wrapper to run Linux command inside WSL (Windows Subsystem for Linux) from native apps

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Wslexec

Wslinstall
Install any GNU/Linux userspace in WSL
Stars: ✭ 178 (+513.79%)
Mutual labels:  windows-subsystem-linux
Weasel Pageant
Deprecated: An ssh-agent compatible helper for interacting with Pageant from processes running on the Windows Subsystem for Linux.
Stars: ✭ 256 (+782.76%)
Mutual labels:  windows-subsystem-linux
Centwsl
[DISCONTINUED] CentOS based WSL distribution
Stars: ✭ 766 (+2541.38%)
Mutual labels:  windows-subsystem-linux
Lxrunoffline
A full-featured utility for managing Windows Subsystem for Linux (WSL)
Stars: ✭ 3,005 (+10262.07%)
Mutual labels:  windows-subsystem-linux
uniterm
🚧Universal Terminal Emulator, might be a great toy terminal front-end for geeks.
Stars: ✭ 22 (-24.14%)
Mutual labels:  windows-subsystem-linux
Wsl Ssh Agent
Helper to interface with Windows ssh-agent.exe service from Windows Subsystem for Linux (WSL)
Stars: ✭ 298 (+927.59%)
Mutual labels:  windows-subsystem-linux
Wslu
A collection of utilities for Windows 10 Linux Subsystems
Stars: ✭ 2,020 (+6865.52%)
Mutual labels:  windows-subsystem-linux
Wsl Docker Git Setup
Shell script to configure Windows Subsystem for Linux (WSL) & Ubuntu on Windows to use docker and docker-compose as well as a git-enabled prompt
Stars: ✭ 23 (-20.69%)
Mutual labels:  windows-subsystem-linux
wsl2exe
[TESTING]Use command in WSL from exe executable
Stars: ✭ 34 (+17.24%)
Mutual labels:  windows-subsystem-linux
Bootshellcredentialprovider
Windows 10 Credential Provider intended to simplify the process of logging directly into alternative shells to Windows Explorer.
Stars: ✭ 715 (+2365.52%)
Mutual labels:  windows-subsystem-linux
Wsl Dotfiles
My dotfiles for running an i3-based environment within the Windows Subsystem for Linux (WSL).
Stars: ✭ 211 (+627.59%)
Mutual labels:  windows-subsystem-linux
WSL-manager
unofficial gui manager for Windows Subsystem for Linux (WSL)
Stars: ✭ 25 (-13.79%)
Mutual labels:  windows-subsystem-linux
Wsl Terminal
Terminal emulator for Windows Subsystem for Linux (WSL)
Stars: ✭ 3,120 (+10658.62%)
Mutual labels:  windows-subsystem-linux
Alpinewsl
Alpine Linux based WSL distribution. Supports multi-install. Lightest WSL distribution.
Stars: ✭ 203 (+600%)
Mutual labels:  windows-subsystem-linux
Wsldl
Advanced WSL launcher / installer. (Win10 FCU x64/arm64 or later.)
Stars: ✭ 782 (+2596.55%)
Mutual labels:  windows-subsystem-linux
Extraterm
The swiss army chainsaw of terminal emulators
Stars: ✭ 1,922 (+6527.59%)
Mutual labels:  windows-subsystem-linux
Awesome Wsl
Awesome list dedicated to Windows Subsystem for Linux
Stars: ✭ 3,544 (+12120.69%)
Mutual labels:  windows-subsystem-linux
Wsl Programs
A community powered list of programs that work (and those that don't) on the Windows subsystem for Linux
Stars: ✭ 931 (+3110.34%)
Mutual labels:  windows-subsystem-linux
Wslgit
Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)
Stars: ✭ 903 (+3013.79%)
Mutual labels:  windows-subsystem-linux
Wsl Ssh Pageant
A Pageant -> TCP bridge for use with WSL, allowing for Pageant to be used as an ssh-ageant within the WSL environment.
Stars: ✭ 381 (+1213.79%)
Mutual labels:  windows-subsystem-linux

wslexec CircleCI

A wrapper to run a Linux command inside WSL (Windows Subsystem for Linux) from Windows native applications.

If you are looking for Git on WSL solution, andy-5/wslgit is the best.

Getting Started

Visual Studio Code and PHP

You can use PHP on WSL from Windows native Visual Studio Code.

Download the latest release and save as wslphp.exe.

Open Visual Studio Code and configure path as follows:

{
  "php.validate.executablePath": "C:\\Users\\USER\\Documents\\wslphp.exe"
}

Visual Studio and Node.js

WIP

How it works

Rename the binary to command name with prefix wsl. For example, rename the binary to wslgit to run the git command inside WSL.

Windows path translation

Windows paths (e.g. C:\) in command line are translated to WSL paths (e.g. /mnt/c).

For example,

wslgit.exe -C C:\Users\foo\example log

is translated to the following command:

git -C /mnt/c/Users/foo/example log

WSL path translation

WSL paths (e.g. /mnt/c) in standard input are translated to Windows paths (e.g. C:/).

For example,

/mnt/c/Users/foo/example

is translated to the following command:

c:/Users/foo/example

Contributions

Feel free to open issues and pull requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].