Pengwin icon indicating copy to clipboard operation
Pengwin copied to clipboard

Add wsl path to windows

Open mikart143 opened this issue 6 years ago • 4 comments

Is your feature request related to a problem? Please describe. Stop multiplying python/java instances. Use Java/Python in cmd from wsl.

Describe the solution you'd like Add wsl-proxy project to Pengwin

Additional context As we have great Pengwin, why not add to windows path programs that we wish from wsl. With simple bat scripts we can run java/python from wsl like they used to be in windows. This could prevent from installing the same python on windows and wsl. I know that we can use vs code or vs code insider with remote, but this could be helpful too. By adding option to pengwin-setup we could export some programs to windows.

Example script

@echo off
pengwin.exe -i -c "java %*"

mikart143 avatar May 28 '19 08:05 mikart143

Sounds good. We will explore this

crramirez avatar May 28 '19 08:05 crramirez

Some Questions:

  1. Does Windows Store allow batch files? There is an invisible wall between UWP and Win32 realms.
  2. Why are those scripts need to be included in the project? Anyone can make their own scripts with any WSL executable.

Biswa96 avatar May 30 '19 20:05 Biswa96

  1. I am not so familiar with uwp
  2. This could me a nice feature, simple quick creation of this scripts. Those files could be generated, for example during installation of node in pengwin-setup

mikart143 avatar May 30 '19 22:05 mikart143

Every time I see someone talking about making batch scripts, I cringe. Powershell scripts are much better and can be maintained for much longer than a batch script. CMD may well live forever but I suspect at some point in the future of Windows, there will be a version where CMD does not exist (nor Win32).

WSLUser avatar Jun 06 '19 13:06 WSLUser