HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/test/__pycache__/test_startfile.cpython-310.opt-1.pyc
o

�i��@s�ddlZddlmZddlmZddlZddlZddlZddlmZe�	ed�Z
e�e��d�Gdd�dej
��Z
ed	krCe��dSdS)
�N)�support)�	os_helper)�path�	startfilezAstarting files is not supported on Windows IoT Core or nanoserverc@s$eZdZdd�Zdd�Zdd�ZdS)�TestCasecCs|�ttd�dS)Nznonexisting.vbs)ZassertRaises�OSErrorr)�self�r	�0/usr/local/lib/python3.10/test/test_startfile.py�test_nonexistingszTestCase.test_nonexistingcCsnt�t�tj���t�t�t�d�}t|�t|d�Wd�n1s&wYt|t�tj�d�dS)Nz	empty.vbs�open)�cwd)	rZ
change_cwdr�dirname�sys�
executable�join�__file__r)r�emptyr	r	r
�
test_emptys�zTestCase.test_emptycCs2t�tj�\}}t|d|d�t|d|dd�dS)Nz-V)�	argumentsr
r)rr
Zshow_cmd)r�splitrrr)rr
�namer	r	r
�test_python%szTestCase.test_pythonN)�__name__�
__module__�__qualname__rrrr	r	r	r
rsr�__main__)Zunittest�testrZtest.supportr�os�platformrrZ
get_attributerZskipIfZwin32_is_iotrr�mainr	r	r	r
�<module>s	�