bash-on-windows

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

浪子不回头ぞ 提交于 2020-01-03 10:44:22
问题 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 that I can't run any standard GUI tools from Bash and was wondering if it is possible to install Rails and PostGres on the Linux Subsystem and then query my databases using the Windows version of PgAdmin I had a look at this tutorial how-to-install

address sanitizer won't work with bash on windows

强颜欢笑 提交于 2019-12-19 18:47:34
问题 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 work. Here is the code sample for ASAN: #include <stdlib.h> int main() { char *x = (char *)malloc(10 * sizeof(char *)); free(x); return x[5];// purposely accessing deallocated memory } Here is the clang call in bash on windows: $clang++-3.5 -fsanitize

Issue passing valid command-line arguments for socat

南笙酒味 提交于 2019-12-09 01:29:27
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 [7,7] Including any argument at all causes socat to fail: root@LIM:~# socat -d -d pty,echo=0 pty 2017/10/15 01:04:56 socat[92] N PTY is /dev/pts/0 2017/10/15 01:04:56 socat[92] E tcsetattr(5, TCSADRAIN, 0x7fffdafe8be0): Invalid argument 2017/10/15 01:04:56 socat[92] N exit(1) I'm following this SO advice , this tutorial , and this blog and ultimately want

Issue passing valid command-line arguments for socat

丶灬走出姿态 提交于 2019-12-08 07:00:33
问题 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 [7,7] Including any argument at all causes socat to fail: root@LIM:~# socat -d -d pty,echo=0 pty 2017/10/15 01:04:56 socat[92] N PTY is /dev/pts/0 2017/10/15 01:04:56 socat[92] E tcsetattr(5, TCSADRAIN, 0x7fffdafe8be0): Invalid argument 2017/10/15 01:04

address sanitizer won't work with bash on windows

穿精又带淫゛_ 提交于 2019-12-01 16:38:19
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 work. Here is the code sample for ASAN: #include <stdlib.h> int main() { char *x = (char *)malloc(10 * sizeof(char *)); free(x); return x[5];// purposely accessing deallocated memory } Here is the clang call in bash on windows: $clang++-3.5 -fsanitize=address -o1 -fno-omit-frame-pointer -g main.cpp -o main $./main Results ==70==Sanitizer CHECK failed: