| Index: subprocess2.py
|
| diff --git a/subprocess2.py b/subprocess2.py
|
| index acba499ae13d38fab3236ea61c0f518cb902826e..77fda58d291c2f552f5fb6793de0ebc6a36aa836 100644
|
| --- a/subprocess2.py
|
| +++ b/subprocess2.py
|
| @@ -51,7 +51,7 @@ def kill_pid(pid):
|
| """Kills a process by its process id."""
|
| try:
|
| # Unable to import 'module'
|
| - # pylint: disable=F0401
|
| + # pylint: disable=E1101,F0401
|
| import signal
|
| return os.kill(pid, signal.SIGKILL)
|
| except ImportError:
|
| @@ -105,6 +105,8 @@ def get_english_env(env):
|
|
|
| Returns None if it is unnecessary.
|
| """
|
| + if sys.platform == 'win32':
|
| + return None
|
| env = env or os.environ
|
|
|
| # Test if it is necessary at all.
|
|
|