sashimi.processes.logging.LoggingProcess#

class sashimi.processes.logging.LoggingProcess(*args, name, **kwargs)[source]#

Bases: Process

A process with an integrated concurrence logger

Methods

Attributes

close()#

Close the Process object.

This method releases resources held by the Process object. It is an error to call this method if the child process is still running.

property daemon#

Return whether process is a daemon

property exitcode#

Return exit code of process or None if it has yet to stop

property ident#

Return identifier (PID) of process or None if it has yet to start

is_alive()#

Return whether process is alive

join(timeout=None)#

Wait until child process terminates

kill()#

Terminate process; sends SIGKILL signal or uses TerminateProcess()

property pid#

Return identifier (PID) of process or None if it has yet to start

run()#

Method to be run in sub-process; can be overridden in sub-class

property sentinel#

Return a file descriptor (Unix) or handle (Windows) suitable for waiting for process termination.

start()#

Start child process

terminate()#

Terminate process; sends SIGTERM signal or uses TerminateProcess()