### ----------------------------------------------------
### -- Native::Exec
### -- Licenses: Artistic-2.0
### -- Authors: Curt Tilmes <Curt.Tilmes@nasa.gov>
### -- File: eg/example4.raku
### ----------------------------------------------------
use Native::Exec;

exec 'non-existant';

CATCH
{
    when X::Native::Exec
    {
        say "Native Error Code: ", .errno;
        say "Native Error Message: ", .message;
    }
}


