From c59a54a81a44fd0e20eb6ff1891893d73e451b86 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Wed, 7 Oct 2015 08:41:07 -0700 Subject: [PATCH] apply subprocess 'cwd' fix from Vlad-Shcherbina --- stdlib/3/subprocess.pyi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stdlib/3/subprocess.pyi b/stdlib/3/subprocess.pyi index d34fe3d40..142940419 100644 --- a/stdlib/3/subprocess.pyi +++ b/stdlib/3/subprocess.pyi @@ -12,11 +12,13 @@ def call(args: Sequence[str], *, stdin: Any = None, stdout: Any = None, cwd: str = None) -> int: ... def check_call(args: Sequence[str], *, stdin: Any = None, stdout: Any = None, stderr: Any = None, shell: bool = False, - env: Mapping[str, str] = None) -> int: ... + env: Mapping[str, str] = None, + cwd: str = None) -> int: ... # Return str/bytes def check_output(args: Sequence[str], *, stdin: Any = None, stderr: Any = None, shell: bool = False, universal_newlines: bool = False, - env: Mapping[str, str] = None) -> Any: ... + env: Mapping[str, str] = None, + cwd: str = None) -> Any: ... # TODO types PIPE = ... # type: Any