Robot Framework Integrated Development Environment (RIDE)
robotide.run.process.Process Class Reference

Public Member Functions

def __init__ (self, command)
 
def get_output (self, wait_until_finished=False)
 Returns the output produced by the process. More...
 
def is_finished (self)
 
def start (self)
 
def stop (self)
 
def wait (self)
 

Private Member Functions

def _close_outputs (self)
 
def _parse_command (self, command)
 
def _remove_tempfile (self, attempts=10)
 

Private Attributes

 _command
 
 _error
 
 _out_fd
 
 _out_file
 
 _out_path
 
 _process
 

Detailed Description

Definition at line 22 of file process.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.run.process.Process.__init__ (   self,
  command 
)

Definition at line 24 of file process.py.

Member Function Documentation

◆ _close_outputs()

def robotide.run.process.Process._close_outputs (   self)
private

Definition at line 81 of file process.py.

◆ _parse_command()

def robotide.run.process.Process._parse_command (   self,
  command 
)
private

Definition at line 32 of file process.py.

◆ _remove_tempfile()

def robotide.run.process.Process._remove_tempfile (   self,
  attempts = 10 
)
private

Definition at line 86 of file process.py.

◆ get_output()

def robotide.run.process.Process.get_output (   self,
  wait_until_finished = False 
)

Returns the output produced by the process.

    If ``wait_until_finished`` is True, blocks until the process is
    finished and returns all output. Otherwise the currently available
    output is returned immediately.

    Currently available output depends on buffering and might not include
    everything that has been written by the process.

Definition at line 70 of file process.py.

◆ is_finished()

def robotide.run.process.Process.is_finished (   self)

Definition at line 51 of file process.py.

◆ start()

def robotide.run.process.Process.start (   self)

Definition at line 37 of file process.py.

◆ stop()

def robotide.run.process.Process.stop (   self)

Definition at line 54 of file process.py.

◆ wait()

def robotide.run.process.Process.wait (   self)

Definition at line 57 of file process.py.

Member Data Documentation

◆ _command

robotide.run.process.Process._command
private

Definition at line 25 of file process.py.

◆ _error

robotide.run.process.Process._error
private

Definition at line 27 of file process.py.

◆ _out_fd

robotide.run.process.Process._out_fd
private

Definition at line 30 of file process.py.

◆ _out_file

robotide.run.process.Process._out_file
private

Definition at line 28 of file process.py.

◆ _out_path

robotide.run.process.Process._out_path
private

Definition at line 29 of file process.py.

◆ _process

robotide.run.process.Process._process
private

Definition at line 26 of file process.py.


The documentation for this class was generated from the following file: