Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explorer.exe doesn't open ubuntu cwd if it's under linux! #4041

Closed
techsin opened this issue May 15, 2019 · 1 comment
Closed

explorer.exe doesn't open ubuntu cwd if it's under linux! #4041

techsin opened this issue May 15, 2019 · 1 comment

Comments

@techsin
Copy link

techsin commented May 15, 2019

  • Your Windows build number: Microsoft Windows [Version 10.0.17134.765]

  • What you're doing and what's happening:

  1. cmd - open windows prompt
  2. ubuntu - converts to bash from ubuntu
  3. pwd - /home/username
  4. explorer.exe .
  • What's wrong / what should be happening instead:
    Instad of opening the linux folder, it opens whatever folder you were at when you wrote Ubuntu in cmd. Alternatively, if start Ubuntu bash directly from start menu and write out all commands, THEN sysmtem32 opens by default.

  • For WSL launch issues, please [collect detailed logs]

execve("/mnt/c/Windows/explorer.exe", ["explorer.exe", "."], 0x7ffffe0c2cd0 /* 17 vars */) = 0                          arch_prctl(ARCH_SET_FS, 0x6186d8)       = 0                                                                             set_tid_address(0x618710)               = 1390                                                                          getpid()                                = 1390                                                                          getcwd("/", 4096)                       = 2                                                                             open("/dev/lxssclient", O_RDWR)         = 3                                                                             ioctl(3, _IOC(0, 0, 0x2f, 0x22), 0x7fffe7e9a9d0) = 0                                                                    open("/mnt/c/Windows/explorer.exe", O_RDONLY) = 5                                                                       brk(NULL)                               = 0x1c85000                                                                     brk(0x1c86000)                          = 0x1c86000                                                                     ioctl(3, _IOC(0, 0, 0x3f, 0x22), 0x7fffe7e9a870) = 0                                                                    close(5)                                = 0                                                                             open("/", O_RDONLY|O_DIRECTORY)         = 5                                                                             ioctl(3, _IOC(0, 0, 0x3f, 0x22), 0x7fffe7e9a870) = -1 EINVAL (Invalid argument)                                         close(5)                                = 0                                                                             getpid()                                = 1390                                                                          ioctl(4, _IOC(0, 0, 0x97, 0x22), 0x7fffe7e9a910) = 0                                                                    ioctl(4, _IOC(0, 0, 0xb7, 0x22), 0x7fffe7e9a908) = 0                                                                    ioctl(4, _IOC(0, 0, 0xb7, 0x22), 0x7fffe7e9a908) = 0                                                                    ioctl(4, _IOC(0, 0, 0xb7, 0x22), 0x7fffe7e9a908) = 0                                                                    write(4, "\5\0\0\0\0\0\0\0", 8)         = 8                                                                             read(4, "\5\0\0\0\0\0\0\0", 8)          = 8                                                                             write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\221\0\0\0\0\0\0\0"..., 153) = 153                            read(4, "\0\0\0\0\0\0\0\0`\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 32) = 32                                     ioctl(4, _IOC(0, 0, 0x9b, 0x22), 0x7fffe7e9a9c0) = 0                                                                    write(4, "\0\0\0\0\0\0\0\0`\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0", 32) = 32                                    close(0)                                = 0                                                                             close(1)                                = 0                                                                             close(2)                                = 0                                                                             ioctl(5, _IOC(0, 0, 0xbf, 0x22), 0x7fffe7e9a9b0) = 0                                                                    close(3)                                = 0                                                                             close(4)                                = 0                                                                             close(5)                                = 0                                                                             exit_group(1)                           = ?                                                                             +++ exited with 1 +++   

@therealkenc
Copy link
Collaborator

[Version 10.0.17134.765]

You want 18342 or better. Blog post here. Dupe #1524 et al.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants