Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 674 Bytes

readme.md

File metadata and controls

17 lines (12 loc) · 674 Bytes

Bash bridge

Allows implementing operations in Bash.

Input must be an object which properties will be passed to the script as named arguments with values converted to strings. Output is a string being the standard output of the script.

If the script returns exit code 1, the operation will return an Error with the message being the standard error output of the script. Other exit codes will cause exceptions.

Operations cannot have access to the state or context. Basically, only computations are possible.

While theoretically this bridge may find some use, it is mainly a demonstration of language interoperability.