Hacker News new | ask | show | jobs
by gerdesj 3290 days ago
At the risk of simply putting words into noobiemcfoob's mouth:

"Xonsh is " NOT " how to do this."

1 comments

OK. I thought this would be so obvious that people would see it. Sultan says "Sultan was created to help with scripts that we create with Bash, that tend to get complex." If one has an open mind, one should be asking "why would I use bash for this at all, when there exists a far superior command shell, xonsh, which incorporates all of bash's capability, with all of python, in one piece?"

Why are we trying to interface with bash to run commands from python in the first place? Cut out the middleman, bash, which is just a nuisance in the way.

You don't need to interface with bash necessarily you need to interface with binaries on the system like apt for example
Which is exactly what xonsh does.