Michael Lazin via plug on 24 Aug 2020 19:03:01 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Chromium. No.


This was on the list before but a long time ago.  I made some truly ugly code by mixing the windows shell and cygwin to make this monstrosity:

taskkill /PID `tasklist | grep Agent | awk '{print $3}'` /F

The newest version of windows shell let's you natively mix and match code like this.  I did this evil deed because I knew bash better than I knew windows at the time and automated killing a task on windows with cygwin cron.  It did work.  That is the crazy thing.  I think this is the point that was being made about WSL.  The linux subsystem for windows and the windows subsystem for Linux open a pandora's box where code can be used interchangeably.  There is a downside to this, I eventually did learn powershell and windows too, and I saw that if you allow only signed powershell hackers would execute code with wmic instead.  Having more shell languages to work with brings risks with more power.  I hope that this is not off topic.

On Mon, Aug 24, 2020, 9:42 PM Walt Mankowski via plug <plug@lists.phillylinux.org> wrote:
On Mon, Aug 24, 2020 at 11:03:56AM -0400, jeff via plug wrote:
> How to run Windows 10 programs in a WSL Linux shell
> https://www.bleepingcomputer.com/news/microsoft/how-to-run-windows-10-programs-in-a-wsl-linux-shell/

So you run them exactly like you run Unix programs -- they need to be
in your PATH, and you need to include the .exe just like on Unix.

Why is this news?

> If we get 1 level deeper, we'll hit the singularity.

Oh, we can go a LOT deeper than that! I had a plan to go at least half
a dozen levels down for a FOSSCON talk this year. :)

Walt
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug