function cmd in split format
|
= NAME =
cmd
|
|
= SYNOPSIS =
* cmd <command and args>
|
|
= DESCRIPTION =
The 'cmd' function is used to execute a command on the target.
|
It adds a statement to the devlog, and then calls ov_transport_cmd. It's basically a simple wrapper
around that function.
|
It adds a statement to the devlog, and then calls [[function ov_transport_cmd|ov_transport_cmd]]. It's basically a simple wrapper
around that function.
|
|
= EXAMPLES =
|
|
{{{#!YellowBox
cmd "echo 'this echo is on the target'; uptime; $BOARD_TESTDIR/fuego.$TESTDIR/some_program"
}}}
|
|
= ENVIRONMENT and ARGUMENTS =
The arguments are passed unchanged to ov_transport_cmd.
|
|
= RETURN =
Returns non-zero on error
|
|
= SOURCE =
Located in ''scripts/functions.sh''
|
ov_transport_cmd, report_devlog
|
= SEE ALSO =
* [[function ov_transport_cmd|ov_transport_cmd]], [[function_report_devlog|report_devlog]]
|