Commit graph

23 commits

Author SHA1 Message Date
Jean-Benoist Leger
70bb91e504
revert portable trick for passing args.
Reverted commits are:
 - aa707c9453
 - da234b54e5

closes #3125
2019-05-15 22:32:42 +02:00
Jean-Benoist Leger
da234b54e5
error with portable trick passing args 2019-04-29 17:20:20 +02:00
Jean-Benoist Leger
aa707c9453
/usr/bin/env doesn't support passing arguments 2019-04-26 09:27:00 +02:00
Anthony Scopatz
8609bef403 cat overhaul 2018-08-08 20:24:06 -04:00
Jamie Bliss
06c5d7b1b6 Use python3 in shebangs.
Should fix #1789.
2016-10-02 12:59:27 -04:00
Romain Bignon
df9ba1223d correctly preserve parameters
In case there are arguments containing spaces, there were splited. For
example:

$ xonsh -c 'echo 123'
['/home/rom1/python/xonsh/__main__.py', '-c', 'echo', '123']

$

With this patch:

$ xonsh -c 'echo 123'
['/home/rom1/python/xonsh/__main__.py', '-c', 'echo 123']
123
$
2016-08-26 14:43:35 +02:00
Burak Yiğit Kaya
07f73ace06 Use pylauncher on Windows when available (#1578)
Uses the trick from http://stackoverflow.com/a/18982410/90297

Fixes #1395.
2016-08-18 21:32:57 +03:00
Burak Yiğit Kaya
de95f01ff4 Fix Windows strart script 2016-08-15 21:14:22 +03:00
Jamie Bliss
ae5344d33a Use exec in xon.sh 2016-07-27 15:29:13 -04:00
Anthony Scopatz
347517821c check encodings in xon.sh 2016-07-22 20:55:30 -04:00
Gil Forsyth
d5975ea758 remove run_tests 2016-06-23 17:04:28 -04:00
Anthony Scopatz
20b64aa665 added xon.sh 2016-06-16 10:35:26 -04:00
Anthony Scopatz
919ba221b3 crlf issue 2016-05-16 01:21:10 -04:00
Anthony Scopatz
6c91931346 updated 2016-02-19 18:23:12 -05:00
Anthony Scopatz
275fd08d67 removes Makefile and related content 2016-02-19 00:03:09 -05:00
Benjamin Pollack
48b6abe8a1 Fix use-before-define error in "make test"
In the case that a test was edited, "make test" would erroneously
attempt to add `test_fname` to the list of files to test...which doesn't
exist in that branch. Instead, it should be adding `edited_fname` in
that case.
2015-11-21 16:13:34 -05:00
Kurtis Rader
40034d7315 Replace run_tests bash script with xsh script.
This replaces the bash script I originally proposed as a way to safely invoke
unit tests with a xonsh script (we need to eat our own dog food). This also
udpates the documentation.
2015-11-14 19:20:00 -08:00
Kurtis Rader
333468d719 Ensure lexer/parser table module is current
Ensure lexer/parser table module is current before running any tests.
2015-11-12 17:51:06 -08:00
Kurtis Rader
27132bb999 Add a makefile defining some common tasks.
This makefile makes it easier to run things like unit tests and pylint
against the code. Especially before doing a commit. It also helps ensure
unit tests are not affected by local config files (e.g., ~/.xonshrc).
2015-11-11 18:05:17 -08:00
Anthony Scopatz
5172e4ce42 Updated the windows script for command line args 2015-10-29 12:05:38 -04:00
Robert W. Brewer
72504fec9e add xonsh.bat 2015-05-09 02:17:34 -04:00
adam j hartz
c6ef685bf5 add -u flag to xonsh script 2015-03-31 21:53:22 -04:00
Anthony Scopatz
5757edb15e everything is a mess 2015-01-21 17:04:13 -05:00