| tested on | Debian (bash, dash) |
|---|---|
| known bugs/limitations | data can not contain newlines; C function calls must be wrapped in a call to fgw; all data passed as string |
| API stability | stable but inconvenient due to the limitations of the method |
| configuration requirements | nothing special |
Function calls from the script to C must be wrapped in calls to local shell function fgw. For example, assuming there's a function called atoi, instead of atoi 4 the script needs to call fgw atoi 4.
Because of the text protocol of the cli, all data passed between the script and the C program are converted to string.