GRAYBYTE WORDPRESS FILE MANAGER5796

Server IP : 149.255.58.128 / Your IP : 216.73.216.213
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib/python3.9/site-packages/pyudev/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib/python3.9/site-packages/pyudev//_compat.py
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Sebastian Wiesner <lunaryorn@gmail.com>

# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation; either version 2.1 of the License, or (at your
# option) any later version.

# This library is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.

# You should have received a copy of the GNU Lesser General Public License
# along with this library; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
"""
    pyudev._compat
    ==============

    Compatibility for Python versions, that lack certain functions.

    .. moduleauthor::  Sebastian Wiesner  <lunaryorn@gmail.com>
"""

from __future__ import (print_function, division, unicode_literals,
                        absolute_import)

from subprocess import Popen, CalledProcessError, PIPE


def check_output(command):
    """
    Compatibility with :func:`subprocess.check_output` from Python 2.7 and
    upwards.
    """
    proc = Popen(command, stdout=PIPE)
    output = proc.communicate()[0]
    if proc.returncode != 0:
        raise CalledProcessError(proc.returncode, command)
    return output

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 19 2025 22:42:16
0 / root
0755
__pycache__
--
October 13 2023 17:01:35
0 / root
0755
_ctypeslib
--
October 13 2023 17:01:35
0 / root
0755
_os
--
October 13 2023 17:01:35
0 / root
0755
device
--
October 13 2023 17:01:35
0 / root
0755
__init__.py
2.439 KB
January 24 2020 21:52:56
0 / root
0644
_compat.py
1.431 KB
January 24 2020 21:52:56
0 / root
0644
_errors.py
5.089 KB
January 24 2020 21:52:56
0 / root
0644
_qt_base.py
6.982 KB
January 24 2020 21:52:56
0 / root
0644
_util.py
6.773 KB
January 24 2020 21:52:56
0 / root
0644
core.py
13.062 KB
January 24 2020 21:52:56
0 / root
0644
discover.py
11.116 KB
January 24 2020 21:52:56
0 / root
0644
monitor.py
20.602 KB
January 24 2020 21:52:56
0 / root
0644
version.py
1.075 KB
January 24 2020 21:52:56
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF