Package moul :: Package osdependent :: Package linux
[hide private]
[frames] | no frames]

Package linux



moul.osdependent.linux

Functions [hide private]
  getMoulUserDataDir()
Get path of MOUL data directory
  getPyMoulDataDir()
Get path to the pyMoul ini directory
  startMoul(installdir, *args, **kwargs)
Start MOUL - returns a Popen instance
  isMoulRunning()
Test if MOUL or the launcher is running
  getCurrentPids()
Returns current process ids
  getCurrentPidDetails()
Returns mapping pid -> detailed informations
  getCurrentPidNames()
Returns mapping pid -> name

Variables [hide private]
  __author__ = 'Christian Heimes'
  __version__ = '$Id: __init__.py 122 2007-02-02 17:34:06Z tiran $'
  __revision__ = '$Revision: 122 $'
  LOG = <logging.Logger instance at 0x40308a2c>
  MOUL_DIR = '.urulive'
  INI_FILE = ('pyMoul', 'pymoul.ini')
  EXEC_NAME = 'UruLauncher'
  HOME = '/home/heimes'
  PROCESSES = ('urulauncher', 'uruexplorer')

Function Details [hide private]

getMoulUserDataDir()

 

Get path of MOUL data directory

The MOUL data directory contains log files, chatlogs, KI images and many more things.

getPyMoulDataDir()

 
Get path to the pyMoul ini directory

startMoul(installdir, *args, **kwargs)

 

Start MOUL - returns a Popen instance

args are applied to the program while kwargs are applied to subprocess.Popen()

isMoulRunning()

 
Test if MOUL or the launcher is running

getCurrentPids()

 
Returns current process ids

getCurrentPidDetails()

 
Returns mapping pid -> detailed informations

getCurrentPidNames()

 
Returns mapping pid -> name

Variables Details [hide private]

__author__

None
Value:
'Christian Heimes'                                                     
      

__version__

None
Value:
'$Id: __init__.py 122 2007-02-02 17:34:06Z tiran $'                    
      

__revision__

None
Value:
'$Revision: 122 $'                                                     
      

LOG

None
Value:
<logging.Logger instance at 0x40308a2c>                                
      

MOUL_DIR

None
Value:
'.urulive'                                                             
      

INI_FILE

None
Value:
('pyMoul', 'pymoul.ini')                                               
      

EXEC_NAME

None
Value:
'UruLauncher'                                                          
      

HOME

None
Value:
'/home/heimes'                                                         
      

PROCESSES

None
Value:
('urulauncher', 'uruexplorer')