':param ICommandLineScript script: The script object to be run.
:param usage.Options options: An option parser object.
:param logging: If ``True``, log to stdout; otherwise don\'t log.
:param reactor: Optional reactor to override default one.
:param sys_module: An optional ``sys`` like module for use in
testing. Defaults to ``sys``.'

def __init__(self, script, options, logging=True, reactor=None, sys_module=None):

    self.script = script
    self.options = options
    self.logging = logging
    if (reactor is None):
        reactor = global_reactor
    self._reactor = reactor
    if (sys_module is None):
        sys_module = sys
    self.sys_module = sys_module
