Andy Kipp

Results 470 comments of Andy Kipp

Basically if command was suspended by OS it means that it tries to change detached TTY or interact with it. Because I see no suspend event on [my test](https://github.com/xonsh/xonsh/issues/5512#issuecomment-2178376634) I...

I can repeat. Thanks! Interesting case: ```xsh docker run -it --name temp ubuntu # your steps $(eza) # xonsh suspended (I've tested 0.16.0 and 0.17.0) !(eza).out # you can use...

@lunrenyi I understood the case: ```xsh which xonsh # /root/.x-cmd.root/local/data/pkg/sphere/X/l/j/h/bin/xonsh vim $(which xonsh) # #! /bin/bash # this is NON-interactive running of bash ``` You need to run bash in...

A bit of tracing the initial issue: ```xsh @aliases.register('a') def _a(a,i,o,e): import sys print(sys.stdout, file=e) echo 123 $XONSH_TRACE_SUBPROC=3 $(a) # Trace run_subproc({'cmds': (['a'],), 'captured': 'stdout'}) # 0: {'cmd': ['a'], 'cls':...

@lunrenyi @eugenesvk I've prepared the fix in #5527. If you can test it will be cool.

Hey! Nice catch! I can reproduce this simple way: ```xsh cd /tmp touch "123\n" ls # '123'$'\n' ls 123 # No such file ``` Workarounds: ```xsh ls '123\n' # '123'$'\n'...

@jnoortheen that's awesome! Could you please make an article with the solving 3-5 examples for newbies like me? E.g. what is needed to parse `echo 1 > @('/tmp/file')` or what...

After tracing this I understand the case. In the nutshell: if the last command in the pipe has no waiting for stdin (e.g. `echo`, `ls`, `head -n0`, etc) the CommandPipeline...

_Originally posted by dev2718 in https://github.com/xonsh/xonsh/issues/4659#issuecomment-1023246020_ Actually, bash shows the same behavior for the bash equivalent of this example and will also terminate, but will not report any errors. This...

hey! Nice feature. And I believe that it's possible to implement this with backward compatibility i.e. `.*` and `(.*)` work as now but `(.*)/(.*)` returns pairs. It will be cool...