korn shell wrapper that outputs python code: you write shell > out comes the snake

    • Capricorn@lemmy.today
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      I guess there are many benefits if subprocesses (usually written in C) are replaced with functions (usually wrapping C code). That way, you could run an entire OS scripts via Python, with sensible performance improvements.

      BUT

      Does this tool replace shell commands with python functions? Or does it just call many times subprocesses.run()?