GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Run command in separate thread. More...
Public Member Functions | |
def | __init__ |
Data Fields | |
cmd | |
stderr | |
cmdThread | |
returncode | |
Run command in separate thread.
Used for commands launched on the background.
If stdout/err is redirected, write() method is required for the given classes.
cmd | command given as list |
stdin | standard input stream |
verbose | verbose level [0, 3] (–q, –v) |
wait | wait for child execution terminated |
rerr | error handling (when CmdError raised). True for redirection to stderr, False for GUI dialog, None for no operation (quiet mode) |
stdout | redirect standard output or None |
stderr | redirect standard error output or None |
def gcmd.Command.__init__ | ( | self, | |
cmd, | |||
stdin = None , |
|||
verbose = None , |
|||
wait = True , |
|||
rerr = False , |
|||
stdout = None , |
|||
stderr = None |
|||
) |
gcmd.Command.cmd |
Definition at line 337 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().