GRASS Programmer's Manual
6.4.2(2012)
|
Data Structures | |
class | GError |
class | GWarning |
class | GMessage |
class | GException |
class | Popen |
Subclass subprocess.Popen. More... | |
class | Command |
Run command in separate thread. More... | |
class | CommandThread |
Create separate thread for command. More... | |
Functions | |
def | recv_some |
def | send_all |
def | RunCommand |
Run GRASS command. | |
Variables | |
tuple | compatPath = os.path.join(globalvar.ETCWXDIR, "compat") |
tuple | grassPath = os.path.join(globalvar.ETCDIR, "python") |
string | message = "Other end disconnected!" |
def gui_modules.gcmd.recv_some | ( | p, | |
t = .1 , |
|||
e = 1 , |
|||
tr = 5 , |
|||
stderr = 0 |
|||
) |
def gui_modules.gcmd.RunCommand | ( | prog, | |
flags = "" , |
|||
overwrite = False , |
|||
quiet = False , |
|||
verbose = False , |
|||
parent = None , |
|||
read = False , |
|||
stdin = None , |
|||
getErrorMsg = False , |
|||
kwargs | |||
) |
Run GRASS command.
prog | program to run |
flags | flags given as a string |
overwrite,quiet,verbose | flags |
parent | parent window for error messages |
read | fetch stdout |
stdin | stdin or None |
getErrorMsg | get error messages on failure |
kwargs | program parameters |
Definition at line 575 of file gcmd.py.
References gui_modules::render.map.
Referenced by gui_modules::psmap_dialogs.ComputeSetRegion(), gui_modules::psmap.DialogDataChanged(), gui_modules.psmap.PsMapFrame.OnCmdDone(), gui_modules.gmodeler.ModelFrame.OnHelp(), gui_modules::psmap.OnHelp(), gui_modules::psmap_dialogs.projInfo(), gui_modules.psmap_dialogs.Instruction.SetRegion(), gui_modules::psmap_dialogs.SetResolution(), and gui_modules.psmap_dialogs.MapFramePanel.update().
def gui_modules.gcmd.send_all | ( | p, | |
data | |||
) |
tuple gui_modules::gcmd::compatPath = os.path.join(globalvar.ETCWXDIR, "compat") |
tuple gui_modules::gcmd::grassPath = os.path.join(globalvar.ETCDIR, "python") |
string gui_modules::gcmd::message = "Other end disconnected!" |