# Is there a transpiler from shell to Julia \`Cmd\`s?

**URL:** <https://discourse.julialang.org/t/is-there-a-transpiler-from-shell-to-julia-cmd-s/46427>\
**Category:** General Usage\
**Tags:** question, development\
**Created:** [September 11, 2020, 4:30am UTC](https://discourse.julialang.org/t/is-there-a-transpiler-from-shell-to-julia-cmd-s/46427 "2020-09-11T04:30:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![singularitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/singularitti/32/17678_2.png) [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Post date:** [September 11, 2020, 4:30am UTC](https://discourse.julialang.org/t/is-there-a-transpiler-from-shell-to-julia-cmd-s/46427/1 "2020-09-11T04:30:02Z")

</div>

I am developing a package that can run shell commands. I know “shellout sucks” and using the shell is very unrecommended in Julia, but there’s time users want their code copied from scripts can just work. And transforming their commands with redirection to Julia’s `pipeline` or vice versa is painful. Is there a package or a way to do the transpilation?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 11, 2020, 1:54pm UTC](https://discourse.julialang.org/t/is-there-a-transpiler-from-shell-to-julia-cmd-s/46427/2 "2020-09-11T13:54:15Z")

</div>

I don’t think there is. If you have existing complicated shell scripts, you can just dump them in a file and call them with the shell using ``...``.
