HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.9/site-packages/tuned/profiles/functions/__pycache__/function_exec.cpython-39.pyc
a

Y��d��@s>ddlZddlZddlmZddlmZGdd�dej�ZdS)�N�)�base)�commandscs,eZdZdZ�fdd�Z�fdd�Z�ZS)�executez0
	Executes process and substitutes its output.
	cstt|��ddd�dS)N�execrr)�superr�__init__)�self��	__class__��J/usr/lib/python3.9/site-packages/tuned/profiles/functions/function_exec.pyr
szexecute.__init__cs4tt|��|�sdS|j�|�\}}|dkr0|SdS)Nr)rrZ_cmd)r	�args�ret�outr
rr
rszexecute.execute)�__name__�
__module__�__qualname__�__doc__rr�
__classcell__rrr
r
rsr)	�osZ
tuned.logsZtuned�rZtuned.utils.commandsrZFunctionrrrrr
�<module>s