Andy Kipp

Results 470 comments of Andy Kipp

UPD: Outdated see #5424 _Originally posted by @seanfarley in https://github.com/xonsh/xonsh/issues/3273#issuecomment-526719569_: > Is there any easier way to run curses in this unthreadable mode? e.g. `unthreadable python curses_script.py`? I like this...

I want to leave here the link to diving into issues and workaround for fzf - https://github.com/xonsh/xonsh/issues/2404#issuecomment-813056993

On Arch: ```python !(echo hi) == 'hi\n' # True !(echo hi).out == 'hi\n' # True !(echo hi).output == 'hi\n' # False ``` yeah, there is some difference between `output` and...

I can repeat this (#5003 created). Deep dive is very welcome!

[xunter](https://github.com/anki-code/xunter) tells me about the endless loop: ```xsh xunter --no-rc -c "xonfig | head" ++depth-lt 20 ``` https://github.com/xonsh/xonsh/blob/04cba39a53ccb7bb8e8a5a23939ed8d000687d6b/xonsh/procs/pipelines.py#L807-L825 Because [`_prev_procs_done`](https://github.com/xonsh/xonsh/blob/04cba39a53ccb7bb8e8a5a23939ed8d000687d6b/xonsh/procs/pipelines.py#L510) never returns `True` for `xonfig | head`. By putting `import...

Catched this [for xonfig](https://github.com/xonsh/xonsh/blob/04cba39a53ccb7bb8e8a5a23939ed8d000687d6b/xonsh/xonfig.py#L725) and [for xontribs](https://github.com/xonsh/xonsh/blob/04cba39a53ccb7bb8e8a5a23939ed8d000687d6b/xonsh/xontribs.py#L402): ```xsh from xonsh.xonfig import XonfigAlias aliases['xfg'] = XonfigAlias(threadable=True) xfg | head # Works as expected aliases['xfg'] = XonfigAlias(threadable=False) # current behavior in `xonfig`...

> Catched this for xonfig and for xontribs Fixed in #5321

Hey @jnoortheen! You wrote in https://github.com/xonsh/xonsh/issues/5321#issuecomment-2039136468: > 3. I suggested to run the aliases in a new process . I am not sure how other shells do that . Even...

I debug this issue with this `run.py`: ```xsh from pprint import pprint from xonsh.built_ins import XSH XSH.load() from xonsh.procs.specs import cmds_to_specs, run_subproc from xonsh.tools import unthreadable, uncapturable # Default alias...

From the top of my current understanding: piping from unthredable callable aliases is not supported. The `ProcProxy` that is used to run unthredable aliases has no support for pipes. In...