HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //proc/self/root/usr/share/python3/debpython/__pycache__/__init__.cpython-310.pyc
o

年fU�@s�zddlmZWneydZYnwddlZddlZddlmZmZddlmZe�	e
�Ze�d�Z
Gdd�d�Zd
dd	�ZdS)�)�datetimeN)�PIPE�Popen)�dumpsz4.*?/usr/lib/python(\d(?:.\d+)?)/(site|dist)-packagesc@seZdZdd�Zdd�ZdS)�memoizecCs||_i|_dS�N)�func�cache)�selfr�r�(/usr/share/python3/debpython/__init__.py�__init__s
zmemoize.__init__cOs6t||f�}||jvr|j|i|��|j|<|j|Sr)rr	r)r
�args�kwargs�keyrrr�__call__s

zmemoize.__call__N)�__name__�
__module__�__qualname__r
rrrrrrsrc	Csd||d�}d}|dur
n;|dur|jttd�n/|rHt|t�r'd}t|d�}tr5|�d�t���	���|�d�|��|�
�|j||d�t�d	|�t
|fi|���&}|��\}}|ob|��t|j|olt|d
�|ort|d
�d�Wd�S1swYdS)a<Execute external shell commad.

    :param cdw: currennt working directory
    :param env: environment
    :param log_output:
        * opened log file or path to this file, or
        * None if output should be included in the returned dict, or
        * False if output should be redirectored to stdout/stderr
    T)�shell�cwd�envFN)�stdout�stderr�az
# command executed on {}z
$ {}
zinvoking: %szutf-8)�
returncoderr)�updater�
isinstance�str�openr�write�format�now�	isoformat�flush�log�debugr�communicate�close�dictr)	�commandrr�
log_outputrr(�processrrrrr�executes2



��$�r-)NNN)r�ImportError�logging�re�
subprocessrr�pickler�	getLoggerrr%�compile�
PUBLIC_DIR_RErr-rrrr�<module>s�