bBox_Shell( mode; script )

Parameters:
   mode:
      0 = convert both input and output line endings
      1 = skip conversion of carriage returns (the FileMaker end-of-line marker) to new lines
      2 = skip translation of new lines in shell output to carriage returns
      3 = don't translate input or ouput line endings
   script: string to be evaluated (executed) by the shell

Result:
   string returned after executing the shell command (maximum of 2 GB)

Error:
   bBox_LastError ("posix")

Script Step:
   none

––––––––––

First appeared in: 0.3

Examples in demo file: 27

Compatibility:   WPE, WebDirect, Ubuntu, Server, macOS, Client

––––––––––

Execute the given script text with the Unix shell.

The function's result is output from stdout only, and use of container data is not supported for the script parameter.