Questions tagged [bash-on-windows]

23 questions
24
votes
7 answers

PgAdmin on Windows 10 with Postgres when installed via Bash on Ubuntu on Windows

I would like to install Rails 5/Postgres within Bash On Ubuntu On Windows and also be able to access Postgres database via PgAdmin for Windows. Am quiet happy to install all my rails dependencies through Bash on Ubuntu on Windows, but I am aware…
David Cruwys
  • 6,262
  • 12
  • 45
  • 91
15
votes
3 answers

Visual Studio Code, Python linting with WSL (Windows Subsystem for Linux)

I'm using Windows 10 on 64 bit PC. Recently, I started using VS Code with Ubuntu Bash on Windows. Everything works great except linting. I tried to get it working with pylint and pep8 but none of them worked. I think that the problem is caused…
13
votes
5 answers

npm start not refreshing new content on save on one computer, but is on another with almost exact same setup

I have my work computer which is a Windows 10 Pro and my laptop is a Windows 10 Home. Working on the same project on both: push and pull to Git. Learning React through Udemy. Both computers using Chrome. Both using Bash on Ubuntu on Windows with…
cjones
  • 8,384
  • 17
  • 81
  • 175
8
votes
1 answer

address sanitizer won't work with bash on windows

Currently running llvm, clang, clang-format, and clang-modernize on Ubuntu Bash on Windows. I would like to use the set of sanitize tools released by google including address, memory, and thread sanitize. None of the fsanitize options seem to…
6
votes
3 answers

Using Git with VS Code and Bash on Ubuntu on Windows (WSL)

I couldn't figure out how to integrate WSL with VS Code. I can open the integrated terminal using: "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe" The integrated terminal works. However, I can't use source control or any of…
3
votes
0 answers

Termbox library can not be initialized at termbox-go

I'm creating an application using termbox-go. This library works fine at windows DOS (windows10). But at Bash on Ubuntu on Windows, it was found that when termbox.Init() is run, an error of invalid argument occurs. I thought that as a reason, tty of…
Elsa
  • 654
  • 1
  • 8
  • 21
2
votes
2 answers

docker-compose ignores DOCKER_HOST

I am attempting to run 3 Docker images, MySQL, Redis and a project of mine on Bash for Windows (WSL). To do that I have to connect to the Docker engine running on Windows, specifically on tcp://locahost:2375. I have appended the following line to…
2
votes
0 answers

Docker-compose no such file or directory windows ubuntu bash

I'm having problems with starting my containers via docker-compose up. I guess this is an Windows problem, because my colleague owns a macbook and has now problems when he runs docker-compose up. ERROR: for oracle-apex Cannot start service…
Elvira
  • 1,410
  • 5
  • 23
  • 50
2
votes
0 answers

SWI-Prolog 7.2.3 has library on one machine but not another

I am developing Prolog code and using SWI-Prolog on two different machines. Both SWI-Prolog installations are on Bash on Ubuntu on Windows 10. I don't remember the steps I followed to install SWI-Prolog on the first machine, but it runs code…
2
votes
1 answer

docker-machine on Linux subsystem for Windows can't connect to running host

I'm running Docker for Windows 17.06.2-ce on Windows 10 1703 build 16278.1000. I have created a cluster with two Hyper-V hosts similair to https://docs.docker.com/get-started/part4/#understanding-swarm-clusters. When I run docker-machine ls from a…
Wouter de Kort
  • 39,090
  • 12
  • 84
  • 103
2
votes
0 answers

^@ shows up randomly in Bash on Ubuntu on Windows while running Python program

I have a python program that basically parses through some CSVs and prints out a line and then stops until the user hits enter. Here is the full code: #!/usr/bin/python import os import csv import sys from datetime import datetime teams = [[] for…
obl
  • 1,799
  • 12
  • 38
1
vote
1 answer

How to get a C++ program that uses XWindows to build on Bash on Ubuntu on Windows?

I'm trying to get a C++ program that uses XWindows to build on Bash on Ubuntu on Windows. I understand that Bash on Ubuntu on Windows does not officially support graphical Linux applications, but I would like the program to build regardless if…
1
vote
1 answer

How to run bash files in IDE like pycharm on OS "Bash on Ubuntu on Windows10"

My OS is win10 X64, and I have installed Bash on Ubuntu on Windows. My IDE is Pycharm2017, and I have installed bash-plugins like BashSupport, Shell Process. My test file helloworld.sh has codes like this: #!/usr/bin/env bash echo "Hello,…
1
vote
1 answer

Issue passing valid command-line arguments for socat

Whereas this works as expected: root@LIM:~# socat -d -d pty pty 2017/10/15 01:01:49 socat[91] N PTY is /dev/pts/0 2017/10/15 01:01:49 socat[91] N PTY is /dev/pts/1 2017/10/15 01:01:49 socat[91] N starting data transfer loop with FDs [5,5] and…
user3853136
0
votes
0 answers

How to List Files in Appropriate Location Using echo (bash)

I have a shell script that allows a user to add and/or delete files and directories. It's a file Manipulator. The script keeps track of all files that are added or deleted in a log file. I then read the log file line by line and place the files in…
CadenJoe
  • 19
  • 5
1
2