OpenQuizz
Une application de gestion des contenus pédagogiques
git.cmd Namespace Reference

Data Structures

class  Git
 

Variables

 execute_kwargs
 
 log
 
 CREATE_NO_WINDOW
 
 PROC_CREATIONFLAGS
 CREATE_NEW_PROCESS_GROUP is needed to allow killing it afterwards, see https://docs.python.org/3/library/subprocess.html#subprocess.Popen.send_signal. More...
 

Function Documentation

◆ dashify()

def git.cmd.dashify (   string)

◆ dict_to_slots_and__excluded_are_none()

def git.cmd.dict_to_slots_and__excluded_are_none (   self,
  d,
  excluded = () 
)

◆ handle_process_output()

def git.cmd.handle_process_output (   process,
  stdout_handler,
  stderr_handler,
  finalizer = None,
  decode_streams = True 
)

@name Utilities

Documentation

Registers for notifications to learn that process output is ready to read, and dispatches lines to
the respective line handlers.
This function returns once the finalizer returns

:return: result of finalizer
:param process: subprocess.Popen instance
:param stdout_handler: f(stdout_line_string), or None
:param stderr_handler: f(stderr_line_string), or None
:param finalizer: f(proc) - wait for proc to finish
:param decode_streams:
    Assume stdout/stderr streams are binary and decode them before pushing \
    their contents to handlers.
    Set it to False if `universal_newline == True` (then streams are in text-mode)
    or if decoding must happen later (i.e. for Diffs).

◆ slots_to_dict()

def git.cmd.slots_to_dict (   self,
  exclude = () 
)

Variable Documentation

◆ CREATE_NO_WINDOW

CREATE_NO_WINDOW

◆ execute_kwargs

execute_kwargs

◆ log

log

◆ PROC_CREATIONFLAGS

PROC_CREATIONFLAGS

CREATE_NEW_PROCESS_GROUP is needed to allow killing it afterwards, see https://docs.python.org/3/library/subprocess.html#subprocess.Popen.send_signal.