wren-lang / wren

The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
http://wren.io
MIT License
6.93k stars 554 forks source link

Running OS processes question #917

Closed achikin closed 3 years ago

achikin commented 3 years ago

Hi, I'm looking for a kind of bash script replacement for my small scripting needs (which sometimes are not so small), so I want something like wren: single-file distribution, simple, elegant.

The only question I have - can wren execute external OS processes and capture the output?

ChayimFriedman2 commented 3 years ago

Wren is an embeddable language. Are you asking about the CLI?

ruby0x1 commented 3 years ago

Hi @achikin . The Wren CLI project is the type of thing where processes would be implemented, but at the moment has no implementation for it. The CLI is based on libuv, which has support for that, so adding it would be quite feasible, if that interests you.

achikin commented 3 years ago

Yes, sorry, I didn't realize that CLI resides in a separate project. Thank you for your clarification.

ruby0x1 commented 3 years ago

Not a problem at all!