wordpress-playground
wordpress-playground copied to clipboard
Explore bun shell
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
I've heard good things about bun.