wsl.exe

wsl.exe is main command line entrypoint from WSL. Its job is to:

  • Parse the command line arguments (See src/windows/common/wslclient.cpp)
  • Call wslservice.exe via COM to launch WSL (see src/windows/common/svccomm.cpp)
  • Relay stdin / stdout / stderr from and to the linux process