-
Notifications
You must be signed in to change notification settings - Fork 952
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
bash decompile.sh
fails with errors when run on Windows 10 with Windows Subsystem for Linux
#18
Comments
Thank you for the report. What Windows version do you use? From which environment/console did you run I tried to run
On the contrary, |
Im on windows 10 newest update and I ran the commands from cmd.exe. This is the output if I prefix the command with 'bash'
Without bash everything works as expected. |
Do you use Bash from the Windows Subsystem for Linux, MSYS2, Cygwin, or even from something else? |
Nope just regular plain old command prompt. Though I do have WSL installed dont know if that might interfere. Calling bash in cmd.exe does open MSYS2 though if you meant that. |
Well, to run I will have to ask someone with Windows 10 + WSL to verify and debug this as I currently do not have access to any Windows 10 machine. |
We have found out that the problem is indeed caused by the use of Bash from WSL instead of Bash from MSYS2. @ACB1337, could you please try running |
Calling the correct bash.exe directly also does not work.
However calling |
@ACB1337 Could you send us the value of your |
Ok moving the msys64 path to the very beginning has fixed the problem. Thanks. Also I had it removed some time during testing so that is where the other errors when calling the bash.exe directly have come from. |
bash decompile.sh
fails with errors when run on Windows 10 with Windows Subsystem for Linux
Great! Thanks for your assistance during debugging. We have added a note into the wiki concerning the importance of a correct |
Well, I was able to run it under WSL. It only takes to
Then I was able to run it for x86 windows executables |
@AntonKukoba1 Thank you for the tip. For running RetDec under WSL on Windows 10, I have created a separate ticket (#85), and added a link to your tip in there. |
Running: bash decompile.sh test.exe results in multiple errors.
Running: decompile.sh test.exe from the command line works just fine.
The text was updated successfully, but these errors were encountered: