mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-27 19:59:07 +00:00
34 lines
919 B
Python
34 lines
919 B
Python
.CompletedProcess: ClassType
|
|
.CompletedProcess.
|
|
args: Str or [Str; _]
|
|
returncode: Int
|
|
stdout: Bytes or NoneType
|
|
stderr: Bytes or NoneType
|
|
|
|
.run!: (
|
|
args: Str or [Str; _],
|
|
stdin: File! or NoneType := NoneType,
|
|
stdout: File! or NoneType := NoneType,
|
|
stderr: File! or NoneType := NoneType,
|
|
capture_output := Bool,
|
|
shell := Bool,
|
|
) => .CompletedProcess
|
|
.call!: (
|
|
args: Str or [Str; _],
|
|
stdin: File! or NoneType := NoneType,
|
|
stdout: File! or NoneType := NoneType,
|
|
stderr: File! or NoneType := NoneType,
|
|
shell := Bool,
|
|
) => Int
|
|
.check_call!: (
|
|
args: Str or [Str; _],
|
|
stdin: File! or NoneType := NoneType,
|
|
stderr: File! or NoneType := NoneType,
|
|
shell := Bool,
|
|
) => {0} or Never
|
|
.check_output!: (
|
|
args: Str or [Str; _],
|
|
stdin: File! or NoneType := NoneType,
|
|
stderr: File! or NoneType := NoneType,
|
|
shell := Bool,
|
|
) => Bytes or NoneType
|