(self, wsman, resource_uri="http://schemas.microsoft.com/wbem/"
                                           "wsman/1/windows/shell/cmd",
                 id=None, input_streams='stdin',
                 output_streams='stdout stderr', codepage=None,
                 environment=None, idle_time_out=None, lifetime=None,
                 name=None, no_profile=None, working_directory=None)
A WinRS shell instance. This is used by Process to spawn a new command/
        process on the raw WinRS shell.

        :param wsman: The pypsrp.wsman.WSMan instance to send commands over
        :param resource_uri: The resource URI of the shell, defaults to the
            WinRS cmd shell
        :param id: The ID of the shell, if not specified a dynamic ID will be
            generated by the host
        :param input_streams: The input streams available to the shell
        :param output_streams: The output streams available to the shell
        :param codepage: The codepage of the shell
        :param environment: A dictionary that contains environment key/values
            that are created for the shell instance
        :param idle_time_out: The idle timeout in seconds of the shell
        :param lifetime: The total lifetime of the shell
        :param name: The name (description) of the shell
        :param no_profile: Whether to create the shell with the user profile
            active or not
        :param working_directory: The default working directory of the created
            shell
A WinRS shell instance. This is used by Process to spawn a new command/
        process on the raw WinRS shell.
A WinRS shell instance . This is used by Process to spawn a new command / process on the raw WinRS shell .
def __init__(self, wsman, resource_uri="http://schemas.microsoft.com/wbem/"
                                           "wsman/1/windows/shell/cmd",
                 id=None, input_streams='stdin',
                 output_streams='stdout stderr', codepage=None,
                 environment=None, idle_time_out=None, lifetime=None,
                 name=None, no_profile=None, working_directory=None):
        """
        A WinRS shell instance. This is used by Process to spawn a new command/
        process on the raw WinRS shell.

        :param wsman: The pypsrp.wsman.WSMan instance to send commands over
        :param resource_uri: The resource URI of the shell, defaults to the
            WinRS cmd shell
        :param id: The ID of the shell, if not specified a dynamic ID will be
            generated by the host
        :param input_streams: The input streams available to the shell
        :param output_streams: The output streams available to the shell
        :param codepage: The codepage of the shell
        :param environment: A dictionary that contains environment key/values
            that are created for the shell instance
        :param idle_time_out: The idle timeout in seconds of the shell
        :param lifetime: The total lifetime of the shell
        :param name: The name (description) of the shell
        :param no_profile: Whether to create the shell with the user profile
            active or not
        :param working_directory: The default working directory of the created
            shell
        """
        self.wsman = wsman
        self.opened = False
        self.id = id
        self.resource_uri = resource_uri
        self.input_streams = input_streams
        self.output_streams = output_streams
        self.codepage = codepage
        self.environment = environment
        self.idle_time_out = idle_time_out
        self.lifetime = lifetime
        self.name = name
        self.no_profile = no_profile
        self.working_directory = working_directory
        self.owner = None
        self.client_ip = None
        self.shell_run_time = None
        self.shell_inactivity = None

        self._selector_set = None
def __init__ ( self , wsman , resource_uri = "http://schemas.microsoft.com/wbem/" "wsman/1/windows/shell/cmd" , id = None , input_streams = 'stdin' , output_streams = 'stdout stderr' , codepage = None , environment = None , idle_time_out = None , lifetime = None , name = None , no_profile = None , working_directory = None ) : self . wsman = wsman self . opened = False self . id = id self . resource_uri = resource_uri self . input_streams = input_streams self . output_streams = output_streams self . codepage = codepage self . environment = environment self . idle_time_out = idle_time_out self . lifetime = lifetime self . name = name self . no_profile = no_profile self . working_directory = working_directory self . owner = None self . client_ip = None self . shell_run_time = None self . shell_inactivity = None self . _selector_set = None