driver.process Module

RPC processes.

class wpull.driver.process.Process(proc_args, stdout_callback=None, stderr_callback=None)[source]

Bases: object

Subprocess wrapper.

close()[source]

Terminate or kill the subprocess.

This function is blocking.

process

Return the underlying process.

start(use_atexit=True)[source]

Start the executable.

Parameters:use_atexit (bool) – If True, the process will automatically be terminated at exit.