philh_myftp_biz.process.SubProcess

Module Contents

Classes

Terminal

SubProcess

Run

RunHidden

Start

StartHidden

Data

_TerminalMap

TerminalMap

API

class philh_myftp_biz.process.SubProcess.Terminal

Bases: typing.TypedDict

args: tuple[str, ...] = None
exts: tuple[str, ...] = None
philh_myftp_biz.process.SubProcess._TerminalMap: dict[str, philh_myftp_biz.process.SubProcess.Terminal] = None
philh_myftp_biz.process.SubProcess.TerminalMap = 'deepcopy(...)'
class philh_myftp_biz.process.SubProcess.SubProcess(*args: str | Path, terminal: None | Literal[cmd, ps, psfile, py, pym, vbs] = 'cmd', dir: Path | None = None)

Initialization

_hide: bool = None
_wait: bool = None
property finished: bool
output(format: Literal[philh_myftp_biz.json, philh_myftp_biz.text.hex] = None, stream: Literal[out, err] = 'out') str | dict | list | bool | Any

Read the output from the Subprocess

property running: bool
wait()
__getstate__()
__print() None
class philh_myftp_biz.process.SubProcess.Run(*args: str | Path, terminal: None | Literal[cmd, ps, psfile, py, pym, vbs] = 'cmd', dir: Path | None = None)

Bases: philh_myftp_biz.process.SubProcess.SubProcess

Initialization

_hide = False
_wait = True
class philh_myftp_biz.process.SubProcess.RunHidden(*args: str | Path, terminal: None | Literal[cmd, ps, psfile, py, pym, vbs] = 'cmd', dir: Path | None = None)

Bases: philh_myftp_biz.process.SubProcess.SubProcess

Initialization

_hide = True
_wait = True
class philh_myftp_biz.process.SubProcess.Start(*args: str | Path, terminal: None | Literal[cmd, ps, psfile, py, pym, vbs] = 'cmd', dir: Path | None = None)

Bases: philh_myftp_biz.process.SubProcess.SubProcess

Initialization

_hide = False
_wait = False
class philh_myftp_biz.process.SubProcess.StartHidden(*args: str | Path, terminal: None | Literal[cmd, ps, psfile, py, pym, vbs] = 'cmd', dir: Path | None = None)

Bases: philh_myftp_biz.process.SubProcess.SubProcess

Initialization

_hide = True
_wait = False