stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.65k stars 138 forks source link

Bash functions aren't supported #1404

Open dimdenGD opened 1 month ago

dimdenGD commented 1 month ago

Describe the bug

Trying to use bb.sh gives unsupported shell syntax error, looks like bash functions aren't supported. That file is pretty complex and would generally serve as good bash syntax test

Link to the blitz that caused the error

N/A

Steps to reproduce

  1. get https://raw.githubusercontent.com/cfenollosa/bashblog/master/bb.sh
  2. run it

Expected behavior

It should work

Screenshots

image

d3lm commented 1 month ago

Hey there! Thanks for reporting this issue. That's right, you can't run arbitrary shell scripts at this point but we do plan to extend support for more functionality in the future.