GRASS Programmer's Manual  6.4.4(2014)-r
gcmd.py File Reference

Go to the source code of this file.

Data Structures

class  gcmd.GError
 
class  gcmd.GWarning
 
class  gcmd.GMessage
 
class  gcmd.GException
 
class  gcmd.Popen
 Subclass subprocess.Popen. More...
 
class  gcmd.Command
 Run command in separate thread. More...
 
class  gcmd.CommandThread
 Create separate thread for command. More...
 

Namespaces

 gcmd
 
 core.gcmd
 wxGUI command interface
 

Functions

def gcmd.GetRealCmd (cmd)
 Return real command name - only for MS Windows. More...
 
def gcmd.DecodeString (string)
 Decode string using system encoding. More...
 
def gcmd.EncodeString (string)
 Return encoded string using system locales. More...
 
def gcmd.recv_some
 
def gcmd.send_all (p, data)
 
def gcmd.RunCommand (prog, flags="", overwrite=False, quiet=False, verbose=False, parent=None, read=False, stdin=None, getErrorMsg=False, kwargs)
 Run GRASS command. More...
 
def gcmd.GetDefaultEncoding
 Get default system encoding. More...
 

Variables

tuple gcmd.compatPath = os.path.join(globalvar.ETCWXDIR, "compat")
 
string gcmd.message = "Other end disconnected!"