GRASS Programmer's Manual
6.4.2(2012)
|
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 |
gui_modules.gcmd.Command.cmd |
Definition at line 303 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().