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/lib/python3/dist-packages/twisted/python/__pycache__/release.cpython-310.pyc
o

�bP�@sRdZddlZGdd�de�ZGdd�de�ZGdd�de�Zddd�Zd
d�ZdS)zf
A release-automation toolkit.

Don't use this outside of Twisted.

Maintainer: Christopher Armstrong
�Nc@�eZdZdZdS)�DirectoryExistsz2
    Some directory exists when it shouldn't.
    N��__name__�
__module__�__qualname__�__doc__�r	r	�8/usr/lib/python3/dist-packages/twisted/python/release.pyr�rc@r)�DirectoryDoesntExistz6
    Some directory doesn't exist when it should.
    Nrr	r	r	r
rrrc@seZdZdS)�
CommandFailedN)rrrr	r	r	r
r
"sr
TFcCsFtd|�|rtd��d�rdS|rd|}t�|�dkr!t|��dS)z�
    I'll try to execute C{command}, and if C{prompt} is true, I'll
    ask before running it.  If the command returns something other
    than 0, I'll raise C{CommandFailed(command)}.
    z--$zrun ?? �nNz%s > /dev/nullr)�print�input�
startswith�os�systemr
)�command�null�promptr	r	r
�sh)s
�rc	Os4tj�d�}z
||i|��Wt�|�St�|�w)N�.)r�path�abspath�chdir)�f�args�kw�origdirr	r	r
�runChdirSafe:sr )TF)rr�OSErrorrrr
rr r	r	r	r
�<module>s