diff --git a/ansible_mitogen/runner.py b/ansible_mitogen/runner.py index ab80cbe0..28f8b3cd 100644 --- a/ansible_mitogen/runner.py +++ b/ansible_mitogen/runner.py @@ -367,7 +367,7 @@ class NewStyleRunner(ScriptRunner): def setup(self): super(NewStyleRunner, self).setup() self._stdio = NewStyleStdio(self.args) - self._argv = TemporaryArgv([self.path]) + self._argv = TemporaryArgv([self.program_fp.name]) def revert(self): self._argv.revert()