4 ms·
Hi - yes, we register the '.exe' extension with binfmt that then triggers WSL whenever a .exe is launched, allowing us to go find and spawn the requested Win32
by bitcrazed 10y ago
Hi - yes, we register the '.exe' extension with binfmt that then triggers WSL whenever a .exe is launched, allowing us to go find and spawn the requested Win32 process.
If you just want to type `code <filespec>` (without the .exe), then you can create an alias that resolves to code.exe.
Same for Notepad, etc. :)
- nailer 10y ago(HN: bitcrazed is Rich, the person presenting in the video) Hey Rich, can you (or colleagues) tell us any news on console? I get the vibe from Michael Niksa back in August [1] [2] there's a big changes happening that will fix readline-type stuff and I'd love to know more about this - I use ConEmu / Win32 SSH on Windows and it, was well as bash, seem to occasionally suffer from terminal-corrupting weirdnesses. I'd love to know more about the causes, the fixes, whether the fixes will make it into Creators Update, etc. [1] https://github.com/Microsoft/BashOnWindows/issues/111#issuecomment-238302654 https://github.com/Microsoft/BashOnWindows/issues/111#issuec... [2] https://github.com/Microsoft/BashOnWindows/issues/111#issuecomment-238592841 https://github.com/Microsoft/BashOnWindows/issues/111#issuec...
- bitcrazed 10y agoYes, we're essentially giving the Windows Console its biggest overhaul in > 30 years! It's important to remember that the Console was one of the first things Cutler & team implemented when they started NT itself, and it's been updated, patched, partially-enhanced and modified quite a few times in the last 30+ years! ;) We're in the process of modularizing much of the Console's internals, replacing particularly archaic parts with shiny new modern C++ collections, etc., removing unnecessary cruft, etc. ... while trying not to break anyone! Much of the work we're doing right now will result in Maximus5 & the Console2 / ConsoleZ / etc. teams having to jump through far fewer hoops to implement decent terminals on Windows. And while we're doing this, we're also enhancing the console to support *NIX VT sequences, adding 24-bit color, etc., working with several other teams around Microsoft who need Console changes to make their things work. This week, we are planning & building features for the NEXT OS release! As you can imagine, it takes considerable effort and care to do this and we've got a great team with Michael, Paul, Mike2 & Austin beavering away as I type. Actually; small lie - Niksa is on vacation this week re-charging his fuel cells before I chain him to his desk again ;) We'll be writing a series of blog posts in the coming weeks, summarizing what's new in Bash & Console in Creators Update, and will have some cool stuff to show off at Build 2017! I'll also be speaking at OSCON 2017 in Austin (same week as Build!!), so stop-by if you're in TX and want to chat about Bash / Console :) https://conferences.oreilly.com/oscon/oscon-tx/public/schedule/detail/55798 https://conferences.oreilly.com/oscon/oscon-tx/public/schedu...
- jaegerpicker 10y agoI'm a big fan of this new feature, enough that I wrote and released some open source code to launch applications before this was possible. Mine's a hack, pure and simple but it worked to fill in the gap but I'm glad to not need it anymore. Thanks! https://github.com/jaegerpicker/Rockhopper https://github.com/jaegerpicker/Rockhopper
- besselheim 10y agoWSL is great, I use it every day and am very much looking forward to the next update. Regarding future work, are there any plans to make the emulated Linux filesystem usable in the rest of Windows e.g. via a drive mapping?
- bitcrazed 10y agoThanks and glad you like it so far ;) We are keen to smooth out some of the filesystem interop challenges. There's a reason we've not yet removed the Beta label ;)
- iamcreasy 10y agoWould I be able to setup Linux environment in VS? i.e. would I be able to include and write POSIX application with this update?
- bitcrazed 10y agoDid you watch the video? ;) Take a look at Visual C++ for Linux: https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development/ https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-...