FrontPage 

Fuego wiki

Login or create account

function cmd in 'raw' 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 [[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''

= SEE ALSO =
 * [[function ov_transport_cmd|ov_transport_cmd]], [[function_report_devlog|report_devlog]]










TBWiki engine 1.8.3 by Tim Bird