| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/utils/__pycache__/ |
Upload File : |
�
�@�c� � �@ � d Z ddlZddlZddlZddlmZ d� Zd� Zd� ZdS )a� cli-specific implementation of process utilities.
cli - Common Language Infrastructure for IronPython. Code
can run on any operating system. Check os.name for os-
specific settings.
This file is only meant to be imported by process.py, not by end-users.
This file is largely untested. To become a full drop-in process
interface for IronPython will probably require you to help fill
in the details.
� N� )� arg_splitc �� � t j � | � � }d|_ d|_ t j j j |_ d|_ t j j �
|� � }dS )zY
system(cmd) should work in a cli environment on Mac OSX, Linux,
and Windows
TFN)�System�Diagnostics�ProcessStartInfo�RedirectStandardOutput�RedirectStandardError�ProcessWindowStyle�Normal�WindowStyle�UseShellExecute�Process�Start)�cmd�psi�regs �</usr/lib/python3/dist-packages/IPython/utils/_process_cli.py�systemr s_ � �
�
�
-�
-�c�
2�
2�C�!%�C�� $�C���(�;�B�C�O��C��
�
�
$�
*�
*�3�
/�
/�C�C�C� c �X � t j � | � � }d|_ d|_ t j j j |_ d|_ t j j �
|� � }|j }|� � � }|j
}|� � � }|S )z\
getoutput(cmd) should work in a cli environment on Mac OSX, Linux,
and Windows
TF)r r r r r
r r r
r r r �StandardOutput� ReadToEnd�
StandardError)r r r �myOutput�output�myError�errors r � getoutputr &