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

UNIX adapter: winpty.exe searches the PATH for ./program.exe executable #81

Closed
rprichard opened this issue Jun 2, 2016 · 1 comment
Closed
Labels

Comments

@rprichard
Copy link
Owner

Here it's using ls from the PATH even though an explicit path is given:

$ ls ./ls
ls: cannot access './ls': No such file or directory

$ winpty ./ls
build      build-libpty  configure  Makefile  README.md    ship  vcbuild.bat
build-gyp  config.mk     LICENSE    misc      RELEASES.md  src   VERSION.txt

It does so even if there really is a file at the explicit path:

$ ./winpty-agent.exe --version
winpty version 0.4.0-dev
commit e0cbe70600b4cc3674f4caa3d1f2de7af752c80f

$ winpty ./winpty-agent.exe --version
winpty version 0.3.0
commit 87436ca8ae208471776964052bb62f575ecc891a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant