diff options
author | Masen Furer <m_github@0x26.net> | 2023-01-17 07:13:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 07:13:55 -0800 |
commit | 2a87375617a228d655b31856c6a39d9957fb9484 (patch) | |
tree | eeee6ae341b10ac92eaf80ad233c7d88983d7a18 /src | |
parent | 1ba041908fa9c225840aafa4cbc01fd6521e804b (diff) | |
download | tox-git-2a87375617a228d655b31856c6a39d9957fb9484.tar.gz |
Provision cwd (#2877)
Fix https://github.com/tox-dev/tox/issues/2876
Diffstat (limited to 'src')
-rw-r--r-- | src/tox/provision.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tox/provision.py b/src/tox/provision.py index 9b1aeba5..e67121bd 100644 --- a/src/tox/provision.py +++ b/src/tox/provision.py @@ -150,5 +150,5 @@ def run_provision(name: str, state: State) -> int: raise HandledError(f"cannot provision tox environment {tox_env.conf['env_name']} because {exception}") args: list[str] = [str(env_python), "-m", "tox"] args.extend(state.args) - outcome = tox_env.execute(cmd=args, stdin=StdinSource.user_only(), show=True, run_id="provision") + outcome = tox_env.execute(cmd=args, stdin=StdinSource.user_only(), show=True, run_id="provision", cwd=Path.cwd()) return cast(int, outcome.exit_code) |