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
Windows: Passed parameters executes differently than hardcoded parameters #36
Comments
Current working directory for server - is there where the shell2http started. or try url: |
This problem persists even if I move the shell2http.exe to the C:\Test directory. If I use the below to start shell2http: But If I use the below to start shell2http: It still fails to find a needed dll that is in that C:\Test directory. Any thoughts? |
Variant: |
Yes, that failed in exactly the same way. |
I install a virtual machine with Windows and reproduced bug. The For temporary workaround use |
@NickE37 please use the latest version. It should fix the problem. Reopen if the problem recurs. |
Awesome program, but I am having a problem in Windows. I am trying to have shell2http run a console executable that requires parameters and uses libraries (dll) in the same directory as the executable.
If I use the below to start shell2http:
shell2http -form /Test "C:\Test\Test.exe Arg1 Arg2 Arg3"
and
http://localhost:8080/Test
It works fine.
But
If I use the below to start shell2http:
shell2http -form /Test "C:\Test\Text.exe %v_arg1% %v_arg2% %v_arg3%"
and
http://localhost:8080/Test/Text.exe?arg1=Arg1&arg2=Arg2&arg3=Arg3
then I get an error that the library dlls cannot be found (even though C:\Test is in the PATH environment variable.
Am I doing something wrong?
Thank you for your help!
The text was updated successfully, but these errors were encountered: