Package cherrypy :: Package test :: Module helper :: Class CPProcess
[hide private]
[frames] | no frames]

Class CPProcess

source code

object --+
         |
        CPProcess

Instance Methods [hide private]
 
__init__(self, wait=False, daemonize=False, ssl=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
write_conf(self, extra='') source code
 
start(self, imports=None)
Start cherryd in a subprocess.
source code
 
get_pid(self) source code
 
join(self)
Wait for the process to exit.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  pid_file = '/home/kov/debian/build-area/cherrypy3-3.1.2/cherry...
  config_file = '/home/kov/debian/build-area/cherrypy3-3.1.2/che...
  config_template = '[global]\nserver.socket_host: \'%(host)s\'\...
  error_log = '/home/kov/debian/build-area/cherrypy3-3.1.2/cherr...
  access_log = '/home/kov/debian/build-area/cherrypy3-3.1.2/cher...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, wait=False, daemonize=False, ssl=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

pid_file

Value:
'/home/kov/debian/build-area/cherrypy3-3.1.2/cherrypy/test/test.pid'

config_file

Value:
'/home/kov/debian/build-area/cherrypy3-3.1.2/cherrypy/test/test.conf'

config_template

Value:
'''[global]
server.socket_host: \'%(host)s\'
server.socket_port: %(port)s
log.screen: False
log.error_file: r\'%(error_log)s\'
log.access_file: r\'%(access_log)s\'
%(ssl)s
%(extra)s
...

error_log

Value:
'/home/kov/debian/build-area/cherrypy3-3.1.2/cherrypy/test/test.error.\
log'

access_log

Value:
'/home/kov/debian/build-area/cherrypy3-3.1.2/cherrypy/test/test.access\
.log'