diff --git a/gclient.py b/gclient.py index 83fcbbd9d..c2a6fb349 100755 --- a/gclient.py +++ b/gclient.py @@ -242,7 +242,7 @@ class Hook(object): if cmd[0] == 'python': cmd[0] = 'vpython' - if cmd[0] == 'vpython' and _detect_host_os() == 'win': + if (cmd[0] in ['vpython', 'vpython3']) and _detect_host_os() == 'win': cmd[0] += '.bat' exit_code = 2