diff --git a/stdlib/2/commands.pyi b/stdlib/2/commands.pyi new file mode 100644 index 000000000..864dbf4ff --- /dev/null +++ b/stdlib/2/commands.pyi @@ -0,0 +1,5 @@ +from typing import Tuple + +def getstatus(file: str) -> str: ... +def getoutput(cmd: str) -> str: ... +def getstatusoutput(cmd: str) -> Tuple[int, str]: ...