Commit graph

13 commits

Author SHA1 Message Date
Noortheen Raja
78091a22f3 style: isort imports
fix #4584
2022-01-31 11:16:51 -05:00
Ali Uneri
e955591bcb
Use full paths when launching processes on Windows (#4077)
* Use full paths when launching processes on Windows

Addresses issue #3763.

* Add news item

* Suppress stderr from "which"

* Replace xonsh.xoreutils.which with shutil.which

* Use existing resolved binary location

* Ensure PATHEXT mock is not overwritten

* Add tests for running excutables on windows

* Ensure we don't set overwrite command when binary_loc is none

* tweak tests

* Revert "Ensure PATHEXT mock is not overwritten"

This reverts commit ce5d6ac091.

* Use monkeypatch for chdir

Co-authored-by: Morten Lund <melund@gmail.com>
2021-08-16 22:02:12 +03:00
Bob Hyman
8740b15462 Run same wc,pwd,cat from tests/bin on Windows.
Run without depending on py.exe
2020-08-10 01:43:51 -04:00
David Strobach
dfcce2b4d0 Add test for subprocess argv[0]
The test needs access to procfs, so it only runs on Linux.
2020-08-05 15:15:02 +02:00
Mickaël Schoentgen
ba2fd9bb00 Fix several ResourceWarning: unclosed file in tests 2018-11-09 10:08:03 +01:00
Anthony Scopatz
a444093290 dotfile matching 2018-09-12 18:12:02 -04:00
Anthony Scopatz
ed727535a7 added scripts 2017-02-11 19:12:03 -05:00
Gordon Ball
69e335382f cat pwd wc test scripts use python 3 syntax, but python #! 2016-12-21 13:50:36 +01:00
Anthony Scopatz
6288644fe5 hopfule fix 2016-10-26 00:40:47 -04:00
Anthony Scopatz
ef0d57aca9 wc command 2016-10-25 20:41:20 -04:00
Anthony Scopatz
a510dbab0a cat commands 2016-10-25 20:27:27 -04:00
Anthony Scopatz
a6de9f3841 tests run on windows 2016-09-25 20:43:27 -04:00
Anthony Scopatz
5ee1d81cbc force test files 2016-09-24 15:56:15 -04:00