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

WSL cannot start Windows Store exe files #5076

Closed
agowa opened this issue Apr 12, 2020 · 3 comments
Closed

WSL cannot start Windows Store exe files #5076

agowa opened this issue Apr 12, 2020 · 3 comments

Comments

@agowa
Copy link

agowa commented Apr 12, 2020

WSL is unable to start windows executables that have been created by windows store apps e.g.
C:\Users\Klaus\AppData\Local\Microsoft\WindowsApps\EmEditor.exe

strace:

ubuntu@PC-001:~$ strace EmEditor.exe
execve("/mnt/c/Users/Klaus/AppData/Local/Microsoft/WindowsApps/EmEditor.exe", ["EmEditor.exe"], 0x7fffc9aa51d0 /* 18 vars */) = -1 ENOEXEC (Exec format error)
fstat(2, {st_mode=S_IFCHR|0660, st_rdev=makedev(4, 1), ...}) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
getpid()                                = 67
exit_group(1)                           = ?
+++ exited with 1 +++

This may occur because these files are empty and are a special kind of symbolic link (at least I guess that's how it works)

@DHowett-MSFT
Copy link

This is a duplicate of #4969.

@therealkenc
Copy link
Collaborator

/dupe #4969

@ghost
Copy link

ghost commented Apr 15, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost added the duplicate label Apr 15, 2020
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

3 participants