[Ericsson Utvecklings AB]

run_erl

COMMAND

run_erl

COMMAND SUMMARY

Redirect Erlang input and output streams on Solaris®

DESCRIPTION

This describes the run_erl program specific to Solaris. This program redirect the standard input and standard output streams so that all output can be logged. It also let the program to_erl connect to the Erlang console making it possible to monitor and debug an embedded system remotely.

You can read more about the use in the Embedded System User's Guide.

EXPORTS

run_erl pipe_dir/ log_dir "exec command [command_arguments]"

The run_erl program arguments are:

pipe_dir
This is where to put the named pipe, usually /tmp/.
log_dir
This is where the log files are written. There will be one log file, run_erl.log that log progress and warnings from the run_erl program itself and there will be up to five log files at maximum 100KB each with the content of the standard streams from and to the command. When the logs are full run_erl will delete and reuse the oldest log file.
"exec command [command_arguments]"
In the third argument command is the to execute where everything written to stdin and stdout is logged to log_dir.

SEE ALSO

start(1), start_erl(1)

AUTHORS

Kent Boortz - support@erlang.ericsson.se

erts 5.1.1
Copyright © 1991-2002 Ericsson Utvecklings AB