package Test2::Harness::Job::Runner::Binary;
use strict;
use warnings;

our $VERSION = '0.001086';

use parent 'Test2::Harness::Job::Runner::IPC';

sub viable { 1 }

sub command {
    my $class = shift;
    my ($test) = @_;

    my $job = $test->job;

    return (
        $test->job->file,
        @{$job->args},
    );
}

1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Test2::Harness::Job::Runner::Binary - Logic for running a binary test in a process.

=head1 DESCRIPTION

=head1 SOURCE

The source code repository for Test2-Harness can be found at
F<http://github.com/Test-More/Test2-Harness/>.

=head1 MAINTAINERS

=over 4

=item Chad Granum E<lt>exodist@cpan.orgE<gt>

=back

=head1 AUTHORS

=over 4

=item Chad Granum E<lt>exodist@cpan.orgE<gt>

=back

=head1 COPYRIGHT

Copyright 2019 Chad Granum E<lt>exodist7@gmail.comE<gt>.

This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

See F<http://dev.perl.org/licenses/>

=cut
