Package hsh :: Module jobs
[hide private]
[frames] | no frames]

Module jobs

Classes [hide private]
  JobManager
  JobManagerListener
An interface for objects that are interested in changes to loaded jobs.
  JobListener
An "interface" for objects interested in changes to a job.
  JobOutputThread
  Job
  ExternalJob
A Job which executes an external command.
  BuiltInJob
A Job which executes a builtin command.
Functions [hide private]
 
register_builtin(name, biclass)
 
canonify_directives(dlist)
Given a list of directive names, remove incompatible ones and duplicates, preferring the last of each group.
 
new_pgrp()
Support method which moves the current process into a new process group and resets signal handlers.
Variables [hide private]
  loaded_builtins = {'alias': <class 'hsh.builtins.bi_alias'>, '...
  builtin_classes = {'bi_alias': <class 'hsh.builtins.bi_alias'>...
  directives_g = [['exclusive', 'piped', 'pty'], ['changeview', ...
  directives = ['exclusive', 'piped', 'pty', 'changeview', 'dont...
  manager = JobManager()
  __package__ = 'hsh'
Variables Details [hide private]

loaded_builtins

Value:
{'alias': <class 'hsh.builtins.bi_alias'>,
 'cause_internal_error': <class 'hsh.builtins.bi_cause_internal_error'\
>,
 'cd': <class 'hsh.builtins.bi_cd'>,
 'copying': <class 'hsh.builtins.bi_copying'>,
 'debug_dump': <class 'hsh.builtins.bi_debug_dump'>,
 'env': <class 'hsh.builtins.bi_env'>,
 'exit': <class 'hsh.builtins.bi_exit'>,
...

builtin_classes

Value:
{'bi_alias': <class 'hsh.builtins.bi_alias'>,
 'bi_cause_internal_error': <class 'hsh.builtins.bi_cause_internal_err\
or'>,
 'bi_cd': <class 'hsh.builtins.bi_cd'>,
 'bi_copying': <class 'hsh.builtins.bi_copying'>,
 'bi_debug_dump': <class 'hsh.builtins.bi_debug_dump'>,
 'bi_env': <class 'hsh.builtins.bi_env'>,
 'bi_exit': <class 'hsh.builtins.bi_exit'>,
...

directives_g

Value:
[['exclusive', 'piped', 'pty'],
 ['changeview', 'dontchangeview'],
 ['replace']]

directives

Value:
['exclusive',
 'piped',
 'pty',
 'changeview',
 'dontchangeview',
 'replace']