As now, the SCRIPT command is able to produce an output on file or in form of a ResultSet if no TO clause is specified.
Since the database can be large and disk space or heap memory can be limited, it would be useful to have the SCRIPT command output to stdout and RUNSCRIPT read from stdin so to avoid intermediate temporary files.
To achieve the result we tried using UNIX named pipes without success: the pipe is always replaced by a regular file. Note that the RunScript tool seems to be able to read from a named pipe.