
    Ri                     b   d dl mZmZ ddlmZmZ ddlmZ ddlm	Z	 ddl
mZmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlmZ dd	lm Z  dd
l!m"Z"m#Z#m$Z$m%Z% ddl&m'Z' ddl(m)Z)m*Z*m+Z+m,Z,m-Z- ddl.m/Z/m0Z0m1Z1m2Z2 ddl3m4Z4 ddl5m6Z6m7Z7m8Z8 de9dedee,         fdZ:de9dedee,         fdZ;dS )    )AnyOptional   )__version_info____version__)
Collection)Config)ContextMockContext)AmbiguousEnvVarAuthFailureCollectionNotFoundExit
ParseErrorPlatformErrorResponseNotAcceptedSubprocessPipeErrorThreadExceptionUncastableEnvVarUnexpectedExitUnknownFileTypeUnpicklableConfigMemberWatcherErrorCommandTimedOut)Executor)FilesystemLoader)ArgumentParserParserContextParseResult)Program)RunnerLocalFailureResultPromise)taskcallCallTask)pty_size)FailingResponder	ResponderStreamWatchercommandkwargsreturnc                 6     t                      j        | fi |S )a  
    Run ``command`` in a subprocess and return a `.Result` object.

    See `.Runner.run` for API details.

    .. note::
        This function is a convenience wrapper around Invoke's `.Context` and
        `.Runner` APIs.

        Specifically, it creates an anonymous `.Context` instance and calls its
        `~.Context.run` method, which in turn defaults to using a `.Local`
        runner subclass for command execution.

    .. versionadded:: 1.0
    )r
   runr/   r0   s     G/srv/django_bis/venv311/lib/python3.11/site-packages/invoke/__init__.pyr3   r3   "   s"      799=++F+++    c                 6     t                      j        | fi |S )a!  
    Run ``command`` in a ``sudo`` subprocess and return a `.Result` object.

    See `.Context.sudo` for API details, such as the ``password`` kwarg.

    .. note::
        This function is a convenience wrapper around Invoke's `.Context` and
        `.Runner` APIs.

        Specifically, it creates an anonymous `.Context` instance and calls its
        `~.Context.sudo` method, which in turn defaults to using a `.Local`
        runner subclass for command execution (plus sudo-related bits &
        pieces).

    .. versionadded:: 1.4
    )r
   sudor4   s     r5   r8   r8   5   s"    " 799>',,V,,,r6   N)<typingr   r   _versionr   r   
collectionr   configr	   contextr
   r   
exceptionsr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   executorr   loaderr   parserr   r   r   r    programr!   runnersr"   r#   r$   r%   r&   tasksr'   r(   r)   r*   	terminalsr+   watchersr,   r-   r.   strr3   r8    r6   r5   <module>rI      s[                   3 3 3 3 3 3 3 3 " " " " " "       ) ) ) ) ) ) ) )                                 "       $ $ $ $ $ $ @ @ @ @ @ @ @ @ @ @ @ @       < < < < < < < < < < < < < < ) ) ) ) ) ) ) ) ) ) ) )       @ @ @ @ @ @ @ @ @ @, , ,(8 , , , ,&-# - -&)9 - - - - - -r6   