GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gcmd.CommandThread Class Reference

Create separate thread for command. More...

Inheritance diagram for gcmd.CommandThread:
Collaboration diagram for gcmd.CommandThread:

Public Member Functions

def __init__
def __del__
def run
 Run command. More...
def abort
 Abort running process, used by main thread to signal an abort. More...

Data Fields


Detailed Description

Create separate thread for command.

Used for commands launched on the background.

Definition at line 473 of file

Constructor & Destructor Documentation

def gcmd.CommandThread.__init__ (   self,
  env = None,
  stdin = None,
  stdout = sys.stdout,
  stderr = sys.stderr 
@param cmd command (given as list)
@param env environmental variables
@param stdin standard input stream 
@param stdout redirect standard output or None
@param stderr redirect standard error output or None

Definition at line 477 of file

def gcmd.CommandThread.__del__ (   self)

Definition at line 505 of file

References gcmd.CommandThread.message_format.

Member Function Documentation

def gcmd.CommandThread.abort (   self)

Abort running process, used by main thread to signal an abort.

Definition at line 600 of file

References gcmd.CommandThread._want_abort, and gcmd.RunCommand().

def (   self)

Run command.

Definition at line 511 of file

References gcmd.Command.cmd, and gcmd.CommandThread.cmd.

Field Documentation


Definition at line 497 of file


Definition at line 491 of file

Referenced by render.Map.GetWindow().


Definition at line 494 of file

Referenced by


Definition at line 502 of file

Referenced by gcmd.CommandThread.__del__().


Definition at line 493 of file


Definition at line 518 of file


Definition at line 490 of file


Definition at line 488 of file

Referenced by gcmd.Popen.send().


Definition at line 489 of file

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