webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Bash functions aren't supported

Open dimdenGD opened this issue 10 months ago • 1 comments

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

dimdenGD avatar Apr 08 '24 00:04 dimdenGD

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.

d3lm avatar Apr 08 '24 13:04 d3lm