get_subprocess
faststream.cli.supervisors.utils.get_subprocess #
get_subprocess(
target: DecoratedCallableNone, args: Any
) -> SpawnProcess
Spawn a subprocess.
PARAMETER | DESCRIPTION |
---|---|
target | The target function to be executed in the subprocess. TYPE: |
args | The arguments to be passed to the target function. TYPE: |
RETURNS | DESCRIPTION |
---|---|
SpawnProcess | The spawned subprocess. |
RAISES | DESCRIPTION |
---|---|
OSError | If there is an error getting the file descriptor of sys.stdin. |