newbie: subprocess enter-hook

17 views
Skip to first unread message

Christof Warlich

unread,
Apr 16, 2018, 9:43:57 AM4/16/18
to xonsh
Hi,

I read about tracing xonsh scripts with the "trace on" command, but I would rather like to print (fully expanded) commands running in subprocess mode only, i.e. ignoring any Python statements. Is this possible, maybe through some subprocess enter hook?

Thanks for any ideas,

Chris


Anthony Scopatz

unread,
Apr 17, 2018, 9:25:46 AM4/17/18
to Christof Warlich, xonsh
Hi Chris,

This is an interesting idea, and I am not sure that there is a way to do this yet.  I'd would be great if you would open a feature request issue for it at https://github.com/xonsh/xonsh/issues

Be Well
Anthony

--
You received this message because you are subscribed to the Google Groups "xonsh" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xonsh+un...@googlegroups.com.
To post to this group, send email to xo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xonsh/b9b66a6e-a550-4cc7-9cb5-dfa725525a22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Asst. Prof. Anthony Scopatz
Nuclear Engineering Program
Mechanical Engineering Dept.
University of South Carolina
sco...@cec.sc.edu
Office: (803) 777-9334
Cell: (512) 827-8239
Office: Horizon 1, #011 (ground floor, not first)
Book a meeting with me at https://scopatz.youcanbook.me/
Open up an issue: https://github.com/scopatz/me/issues
Check my calendar

Reply all
Reply to author
Forward
0 new messages