Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/steevanb/symfony-issue-57946

Example for https://github.com/symfony/symfony/issues/57946
https://github.com/steevanb/symfony-issue-57946

Last synced: 9 days ago
JSON representation

Example for https://github.com/symfony/symfony/issues/57946

Awesome Lists containing this project

README

        

# symfony-issue-57946

Example for https://github.com/symfony/symfony/issues/57946

# How to use it

```bash
./test
```

Output will be:

```
Installing symfony/process 7.0

-- PHP 8.2 - symfony/process 7.0
PHP 8.2.22 (cli) (built: Aug 1 2024 21:59:02) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.22, Copyright (c) Zend Technologies
isStarted(): bool(true)
isTerminated(): bool(true)
isSuccessful(): bool(false)

-- PHP 8.3 - symfony/process 7.0
PHP 8.3.10 (cli) (built: Aug 1 2024 19:53:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.10, Copyright (c) Zend Technologies
isStarted(): bool(true)
isTerminated(): bool(true)
isSuccessful(): bool(false)

Installing symfony/process 7.1

-- PHP 8.2 - symfony/process 7.1
PHP 8.2.22 (cli) (built: Aug 1 2024 21:59:02) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.22, Copyright (c) Zend Technologies
isStarted(): bool(true)
isTerminated(): bool(true)
isSuccessful(): bool(false)

-- PHP 8.3 - symfony/process 7.1
PHP 8.3.10 (cli) (built: Aug 1 2024 19:53:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.10, Copyright (c) Zend Technologies

Fatal error: Uncaught Symfony\Component\Process\Exception\ProcessStartFailedException: The command "'unknown-command'" failed.

Working directory: /app

Error: proc_open(): posix_spawn() failed: No such file or directory in /app/vendor/symfony/process/Process.php:371
Stack trace:
#0 /app/vendor/symfony/process/Process.php(249): Symfony\Component\Process\Process->start(NULL, Array)
#1 /app/test.php(12): Symfony\Component\Process\Process->run()
#2 {main}
thrown in /app/vendor/symfony/process/Process.php on line 371
```