FrontPage 

Fuego 1.0 wiki

Login

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; $FUEGO_HOME/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.9.2 by Tim Bird