ROBOTestFrame/runrobo [ Functions ]

FUNCTION

Run robodoc with the given set of arguments and capture all output to stdout en stderr.

INPUTS

A list of options for robodoc.exr RETURNS stdout and stderr.

SOURCE

sub runrobo
{
    my $robo = '';
    if ( $^O eq 'linux' ) {
        $robo = $robo_unix;
    } else {
        $robo = $robo_win;
    }
    run( [ $robo, @_ ], \my( $in, $out, $err ) );
    return ($out, $err);
}