Platformio-atom-ide-terminal: Add support for Ubuntu bash in Windows 10

Created on 14 Sep 2016  路  5Comments  路  Source: platformio/platformio-atom-ide-terminal

24 - any workaround with PowerShell or CMD doesn't work

Most helpful comment

Hey guys, I was having the same problem... Try entering this in "Settings" > "Shell Override":

C:\\WINDOWS\\sysnative\\bash.exe

It worked for me. Got the idea from Jessica Deen on Channel 9 when she did the same for Visual Studio Code... Hope this helps.
http://www.jessicadeen.com/tech/svcc-getting-started-with-bash-on-windows-10-recap-and-channel-9-video/

All 5 comments

+1 I feel like this might be an issue with Atom itself; it can't even see bash.exe

+1 PowerShell can't see bash.exe inside platformio-atom-ide-terminal the way it can outside.

From powershell.exe run from the Windows 10 Start Menu:

PS H:\> dir C:\Windows\System32\bash.exe


    Directory: C:\Windows\System32


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       2016-09-13     08:54          70656 bash.exe

From platformio-atom-ide-terminal's default shell C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe:

PS H:\> dir C:\Windows\System32\bash.exe
dir : Cannot find path 'C:\Windows\System32\bash.exe' because it does not exist.
At line:1 char:1
+ dir C:\Windows\System32\bash.exe
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Windows\System32\bash.exe:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

+1

Hey guys, I was having the same problem... Try entering this in "Settings" > "Shell Override":

C:\\WINDOWS\\sysnative\\bash.exe

It worked for me. Got the idea from Jessica Deen on Channel 9 when she did the same for Visual Studio Code... Hope this helps.
http://www.jessicadeen.com/tech/svcc-getting-started-with-bash-on-windows-10-recap-and-channel-9-video/

Thanks, it works! I'm closing the issue. Btw. thanks for the video it seems interesting.

Was this page helpful?
0 / 5 - 0 ratings