get_subprocess
faststream.cli.supervisors.utils.get_subprocess #
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. |