App-OperaUtils

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


  opera_is_running
    Usage:

     opera_is_running(%args) -> [$status_code, $reason, $payload, \%result_meta]

    Check whether Opera is running.

    Opera is defined as running if there are some Opera processes that are
    *not* in 'stop' state. In other words, if Opera has been started but is
    currently paused, we do not say that it's running. If you want to check
    if Opera process exists, you can use "ps_opera".

    This function is not exported.

    Arguments ('*' denotes required arguments):

    *   quiet => *true*

    *   users => *array[unix::uid::exists]*

lib/App/OperaUtils.pm  view on Meta::CPAN

    App::BrowserUtils::_do_browser('is_paused', 'opera', @_);
}

$SPEC{opera_is_running} = {
    v => 1.1,
    summary => "Check whether Opera is running",
    description => <<'_',

Opera is defined as running if there are some Opera processes that are *not*
in 'stop' state. In other words, if Opera has been started but is currently
paused, we do not say that it's running. If you want to check if Opera process
exists, you can use `ps_opera`.

_
    args => {
        %App::BrowserUtils::args_common,
        %App::BrowserUtils::argopt_quiet,
    },
};
sub opera_is_running {
    App::BrowserUtils::_do_browser('is_running', 'opera', @_);

lib/App/OperaUtils.pm  view on Meta::CPAN

=head2 opera_is_running

Usage:

 opera_is_running(%args) -> [$status_code, $reason, $payload, \%result_meta]

Check whether Opera is running.

Opera is defined as running if there are some Opera processes that are I<not>
in 'stop' state. In other words, if Opera has been started but is currently
paused, we do not say that it's running. If you want to check if Opera process
exists, you can use C<ps_opera>.

This function is not exported.

Arguments ('*' denotes required arguments):

=over 4

=item * B<quiet> => I<true>

script/opera-is-running  view on Meta::CPAN

This document describes version 0.008 of opera-is-running (from Perl distribution App-OperaUtils), released on 2022-10-07.

=head1 SYNOPSIS

B<opera-is-running> [B<--debug>|B<--log-level>=I<level>|B<--quiet>|B<--trace>|B<--verbose>] [B<--format>=I<name>|B<--json>] [B<--(no)naked-res>] [B<--page-result>[=I<program>]|B<--view-result>[=I<program>]] [B<--quiet-arg>|B<-q>] [(B<--user>=I<unix::...

=head1 DESCRIPTION

Opera is defined as running if there are some Opera processes that are I<not>
in 'stop' state. In other words, if Opera has been started but is currently
paused, we do not say that it's running. If you want to check if Opera process
exists, you can use C<ps_opera>.

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over



( run in 0.608 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )