GRASS Programmer's Manual
6.4.2(2012)
|
Create separate thread for command. More...
Public Member Functions | |
def | __init__ |
def | __del__ |
def | run |
Run command. | |
def | abort |
Abort running process, used by main thread to signal an abort. |
Data Fields | |
cmd | |
stdin | |
stdout | |
stderr | |
module | |
error | |
aborted | |
message_format | |
startTime |
Create separate thread for command.
Used for commands launched on the background.
def gui_modules.gcmd.CommandThread.__init__ | ( | self, | |
cmd, | |||
stdin = None , |
|||
stdout = sys.stdout , |
|||
stderr = sys.stderr |
|||
) |
def gui_modules.gcmd.CommandThread.__del__ | ( | self | ) |
Definition at line 471 of file gcmd.py.
References gui_modules.gcmd.CommandThread.message_format.
def gui_modules.gcmd.CommandThread.abort | ( | self | ) |
Abort running process, used by main thread to signal an abort.
Definition at line 551 of file gcmd.py.
References gui_modules.gcmd.CommandThread._want_abort, and gui_modules.gcmd.RunCommand().
def gui_modules.gcmd.CommandThread.run | ( | self | ) |
Run command.
Definition at line 477 of file gcmd.py.
References gui_modules.gcmd.Command.cmd, and gui_modules.gcmd.CommandThread.cmd.
gui_modules.gcmd.CommandThread.cmd |
Definition at line 454 of file gcmd.py.
Referenced by gui_modules.render.Layer.GetCmd(), gui_modules.menuform.GUI.GetCmd(), gui_modules.vclean.VectorCleaningFrame.OnCopy(), gui_modules.vclean.VectorCleaningFrame.OnHelp(), gui_modules.mcalc_builder.MapCalcFrame.OnHelp(), gui_modules.mcalc_builder.MapCalcFrame.OnMCalcRun(), gui_modules.gdialogs.DecorationDialog.OnOptions(), gui_modules.render.Layer.Render(), gui_modules.gcmd.CommandThread.run(), and gui_modules.render.Layer.SetCmd().
gui_modules.gcmd.CommandThread.error |
Definition at line 460 of file gcmd.py.
Referenced by gui_modules.workspace.ProcessGrcFile.read().
gui_modules.gcmd.CommandThread.message_format |
Definition at line 468 of file gcmd.py.
Referenced by gui_modules.gcmd.CommandThread.__del__().
gui_modules.gcmd.CommandThread.stdin |
Definition at line 455 of file gcmd.py.
Referenced by gui_modules.gcmd.Popen.send().