wordpress-playground icon indicating copy to clipboard operation
wordpress-playground copied to clipboard

Explore bun shell

Open adamziel opened this issue 11 months ago • 1 comments

The Bun Shell is a new experimental embedded language and interpreter in Bun that allows you to run cross-platform shell scripts in JavaScript & TypeScript.

https://bun.sh/blog/the-bun-shell

This could be useful for:

  • Parsing and handling proc_open() commands in the browser – right now we use a custom and naive command parser that doesn't understand env variables, pipes, or redirects
  • Windows-compatible repository setup – right now there's a lot of cp, rm, etc calls in package.json and project.json files

cc @reimic

adamziel avatar Feb 27 '24 09:02 adamziel

I've heard good things about bun.

reimic avatar Mar 02 '24 14:03 reimic