GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Create separate thread for command. More...
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 | |
cmd | |
stdin | |
stdout | |
stderr | |
env | |
module | |
error | |
aborted | |
message_format | |
startTime | |
Create separate thread for command.
Used for commands launched on the background.
def gcmd.CommandThread.__init__ | ( | self, | |
cmd, | |||
env = None , |
|||
stdin = None , |
|||
stdout = sys.stdout , |
|||
stderr = sys.stderr |
|||
) |
def gcmd.CommandThread.__del__ | ( | self | ) |
Definition at line 505 of file gcmd.py.
References gcmd.CommandThread.message_format.
def gcmd.CommandThread.abort | ( | self | ) |
Abort running process, used by main thread to signal an abort.
Definition at line 600 of file gcmd.py.
References gcmd.CommandThread._want_abort, and gcmd.RunCommand().
def gcmd.CommandThread.run | ( | self | ) |
Run command.
Definition at line 511 of file gcmd.py.
References gcmd.Command.cmd, and gcmd.CommandThread.cmd.
gcmd.CommandThread.cmd |
Definition at line 487 of file gcmd.py.
Referenced by render.Layer.GetCmd(), forms.GUI.GetCmd(), wxnviz.ImageTexture.GetCmd(), vclean.VectorCleaningFrame.OnCleaningRun(), vclean.VectorCleaningFrame.OnCopy(), vclean.VectorCleaningFrame.OnHelp(), mcalc_builder.MapCalcFrame.OnHelp(), mcalc_builder.MapCalcFrame.OnMCalcRun(), dialogs.DecorationDialog.OnOptions(), render.Layer.Render(), gcmd.CommandThread.run(), and render.Layer.SetCmd().
gcmd.CommandThread.env |
Definition at line 491 of file gcmd.py.
Referenced by render.Map.GetWindow().
gcmd.CommandThread.error |
Definition at line 494 of file gcmd.py.
Referenced by workspace.ProcessGrcFile.read().
gcmd.CommandThread.message_format |
Definition at line 502 of file gcmd.py.
Referenced by gcmd.CommandThread.__del__().
gcmd.CommandThread.stdin |
Definition at line 488 of file gcmd.py.
Referenced by gcmd.Popen.send().