function_cmd 

Fuego wiki

Login or create account

function cmd

NAME [edit section]

cmd

SYNOPSIS [edit section]

  • cmd <command and args>

DESCRIPTION [edit section]

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.

EXAMPLES [edit section]

      cmd "echo 'this echo is on the target'; uptime; $BOARD_TESTDIR/fuego.$TESTDIR/some_program"

ENVIRONMENT and ARGUMENTS [edit section]

The arguments are passed unchanged to ov_transport_cmd.

RETURN [edit section]

Returns non-zero on error

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]

TBWiki engine 1.8.2 by Tim Bird