Brian Visel
0e8ebc190c
Move raising of XonshCalledProcessError into a separate method
2016-06-09 18:08:11 -04:00
Brian Visel
5fb5b0151c
Update proc per better code from @scopatz, fix bad merge in tools.py
2016-06-09 07:38:02 -04:00
Brian Visel
397e6cb40c
Use XonshCalledProcessError in CompletedCommand.__iter__
2016-06-09 02:56:48 -04:00
Brian Visel
24438d4715
Minimal changes for conformity, bugfix / py3.4 compat
2016-06-09 01:53:10 -04:00
Brian Visel
d7b0cbfb0f
Added _CCTuple.executed_cmd for use with iter(!(command))
2016-06-08 22:23:08 -04:00
Brian Visel
91bf3a260b
remove newlines from !(command) iteration, minor bugfix
2016-06-08 21:29:29 -04:00
Brian Visel
7f3283f0cc
Iterating over !(command) iterates over output lines
2016-06-08 19:06:12 -04:00
Frank Sachsenheim
81f0f50496
Adds a xonsh.platform module
...
comes with occasional code cleanup and micro optimizations
fixes `xonsh.tools.CommandCache.all_commands`
2016-05-20 19:26:02 +02:00
adam j hartz
d7023768e0
add timestamp to CompletedCommand object
2016-03-19 15:08:34 -04:00
Anthony Scopatz
a7b52b5678
added some aliases to CompletedCommand
2016-03-16 12:30:45 -04:00
Anthony Scopatz
bdf10a11d3
minor fixup for !() and ![]
2016-03-16 01:51:11 -04:00
adam j hartz
c767042c28
add hidden completedprocess object
2016-03-10 23:48:14 -05:00
adam j hartz
0ede146452
much more elegant way of initializing CompletedCommand, from scopatz
2016-03-10 23:14:52 -05:00
adam j hartz
c5887cc319
add __hash__ to CompletedProcess to allow checks for being 'in' sets and dicts
2016-03-10 21:56:57 -05:00
adam j hartz
f170dd1fa8
little docstrings
2016-03-06 23:52:51 -05:00
adam j hartz
da18135906
rename completed process -> completed command
2016-03-06 23:27:02 -05:00
adam j hartz
1ddf5e21cd
slight update to CompletedProcess
2016-03-06 15:23:05 -05:00
adam j hartz
a718b71827
small temporary update
2016-03-06 12:25:29 -05:00
Anthony Scopatz
f6e796d931
integration with fgprocprox
2016-02-04 20:26:22 -05:00
Anthony Scopatz
035a9fbcfb
added fg process
2016-02-04 18:35:47 -05:00
Travis Shirk
20520c17d6
Support 3-tuple alias retval to include return code.
2015-11-26 18:57:53 -07:00
Travis Shirk
26e9858dd2
Fixed docstring
2015-11-21 17:58:38 -07:00
Travis Shirk
63971cd691
Rebased with upstream/master
2015-11-21 14:14:49 -07:00
Travis Shirk
0665e8e1f2
meh, rethink
2015-11-21 13:19:35 -07:00
Travis Shirk
92c91086c7
Signal and exception values reflected in history dicts
2015-11-21 12:36:44 -07:00
Travis Shirk
2a453b1bbe
Don't return None on bogus os.wait code for poll/wait
2015-11-18 20:57:48 -07:00
Travis Shirk
e5aec0c28b
Fixed exit codes for TeePTY, and changes the signal info to a 2-tuple (signum, coredump)
2015-11-18 19:36:27 -07:00
Kurtis Rader
e88c863d10
Add a uniform character encoding to all files.
...
I wouldn't normally do something like this but issue #487 brought to
my attention the fact that too many of the python modules don't have
an encoding comment and of those that do there is a lot of pointless
inconsistency in the style of the comment.
2015-11-16 14:10:40 -08:00
Anthony Scopatz
a4b57b5345
seems to work for teepty now
2015-10-31 13:52:10 -04:00
Anthony Scopatz
ec6123fc86
first pass at setting encoding
2015-10-31 13:31:52 -04:00
Anthony Scopatz
6e1de14fd7
prevent multiple exits
2015-10-24 13:03:32 -04:00
Anthony Scopatz
84fb672c61
added most of teepty delay
2015-10-11 14:01:15 -04:00
Anthony Scopatz
f9475ab54f
stop intercepting SIGINT
2015-08-22 16:59:37 -04:00
Anthony Scopatz
a2419ea861
minor updates
2015-08-16 23:11:49 -04:00
Anthony Scopatz
a89a261ae0
docs to tee poc
2015-08-10 23:04:04 -04:00
Anthony Scopatz
e337c92b03
returncode and exception fixes for aliases
2015-08-10 23:00:49 -04:00
Anthony Scopatz
50536adbe3
some cleanup
2015-08-10 21:32:43 -04:00
Anthony Scopatz
671f0dbcc5
other caching
2015-08-10 02:33:30 -04:00
Anthony Scopatz
a8ac97a9c6
it works
2015-08-10 02:24:03 -04:00
Anthony Scopatz
48a7ef281c
broken
2015-08-10 01:55:14 -04:00
Klaus Alexander Seistrup
b73cb4ddcd
Unused Popen imported from subprocess
2015-07-30 14:12:41 +02:00
Klaus Alexander Seistrup
bb1e4f22e5
Unused import platform removed
2015-07-30 14:11:13 +02:00
Klaus Alexander Seistrup
99f96f306d
Too many blank lines
2015-07-30 11:23:20 +02:00
adam j hartz
9024c1f9ee
need additional check for stderr = stdout
2015-05-19 16:05:33 -04:00
Robert W. Brewer
29f609191b
windows: correct proc.py to pass test_imphooks tests
2015-05-15 00:05:12 -04:00
adam j hartz
fd5c9513eb
need Handle from subproc as well
2015-05-12 22:58:08 -04:00
adam j hartz
c5180cf6bd
refactor of check for windows
2015-05-12 21:05:17 -04:00
adam j hartz
04ed8eedb1
grammar
2015-05-12 19:29:17 -04:00
adam j hartz
f768664d10
documentation for ProcProxy
2015-05-12 19:26:27 -04:00
adam j hartz
0c690d507a
small refactor
2015-05-12 13:41:51 -04:00