Process handling mixin to run scripts based on the current major
mode.
This mixin provides some common interfacing to run scripts that are
tied to a major mode. An interpreter classpref is provided that links a
major mode to a binary file to run scripts in that mode. Actions like
RunScript and StopScript are tied to the presense of this mixin and will
be automatically enabled when they find a mode has the interpreter_exe
classpref.
|
|
finishedCallback(self,
job)
Callback from the JobOutputMixin when the job terminates. |
|
|
|
|
getCommandLine(self,
bangpath=None)
Return the entire command line of the job to be started. |
|
|
|
|
getInterpreterArgs(self)
Hook to pass arguments to the command interpreter |
|
|
|
|
getScriptArgs(self)
Hook to specify any arguments passed to the script itself |
|
|
|
|
startInterpreter(self,
argstring=None)
Interface used by actions to start the interpreter. |
|
|
|
|
startupCallback(self,
job)
Callback from the JobOutputMixin when a job is successfully started. |
|
|
|
|
stderrCallback(self,
job,
text)
Callback from the JobOutputMixin for a block of text on stderr. |
|
|
|
|
stdoutCallback(self,
job,
text)
Callback from the JobOutputMixin for a block of text on stdout. |
|
|
|
|
stopInterpreter(self)
Interface used by actions to kill the currently running job. |
|
|
|
Inherited from lib.processmanager.JobOutputMixin:
startupFailureCallback
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|