function cmd

NAME [edit section]

cmd

SYNOPSIS [edit section]

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]

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]