Mini Shell
a
�DOgP$ � @ s d dl Z d dlZd dlZd dlZddlmZmZ ddlmZ ddlm Z ddlm
Z
g d�Zejdkrpd Z
d Zneed
d �Z
ej�� �d�Zer�e j�ejd�anejad
d� Zdd� Zdd� Zdd� Zdd� Zd'dd�Zdd� Zdd� Zdd� Zg Z dd � Z!d!d"� Z"d#d$� Z#d%d&� Z$dS )(� N� )�get_start_method�set_start_method)�process)� reduction)�util)�_main�freeze_support�set_executable�get_executable�get_preparation_data�get_command_line�import_main_path�win32F�frozenzpythonservice.exez
python.exec C s | a d S �N��_python_exe)Zexe� r �-/usr/lib64/python3.9/multiprocessing/spawn.pyr
) s r
c C s t S r r r r r r r - s r c C s$ t | �dkr| d dkrdS dS dS )z=
Return whether commandline indicates we are forking
� r �--multiprocessing-forkTFN)�len)�argvr r r �
is_forking4 s r c C sh t tj�rdi } tjdd� D ]0}|�d�\}}|dkr@d| |<