Skip to content

Commit

Permalink
workaround for proc_open behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
maschmann committed Sep 14, 2024
1 parent df4904a commit 4c27910
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Tests/Asm/Ansible/Testing/AnsibleTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@ protected function createProjectStructure(): vfsStreamDirectory

protected function getProjectUri(): string
{
return $this->project->url() . '/ansible-project';
/*
* @todo using a virtual file system with an URI here, breaks proc_open for PHP 8.3.x due to change in
* the way it works underneath when not finding an executable. Providing an existing path here, does not
* break behavior of tests and has no real impact.
* @see https://github.com/php/php-src/issues/13743
* /
//return $this->project->url() . '/ansible-project';
return $this->getAssetsBinPath();
}
protected function getPlayUri(): string
Expand Down

0 comments on commit 4c27910

Please sign in to comment.