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, socket_host=None, socket_port=None)
x.__init__(...) initializes x; see help(type(x)) 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__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  pid_file = '/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy3/c...
  config_file = '/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy...
  config_template = '[global]\nserver.socket_host: \'%(host)s\'\...
  error_log = '/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy3/...
  access_log = '/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy3...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, wait=False, daemonize=False, ssl=False, socket_host=None, socket_port=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

pid_file

Value:
'/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy3/cherrypy3-3.2.2/cher\
rypy/test/test.pid'

config_file

Value:
'/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy3/cherrypy3-3.2.2/cher\
rypy/test/test.conf'

config_template

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

error_log

Value:
'/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy3/cherrypy3-3.2.2/cher\
rypy/test/test.error.log'

access_log

Value:
'/var/build/temp/tmp.iPfnr5LTs4/4.0-0-0/cherrypy3/cherrypy3-3.2.2/cher\
rypy/test/test.access.log'