Skip to content

Double quote for bash command is wrong pattern for UNIX system #12

@vldmr-k

Description

@vldmr-k

Last version 3.3.3 broken commands for UNIX system, details below

When I tried run phpbu last version 6.0.15 I saw the throw:

`
Exception 'RuntimeException' with message 'Command failed:
exit-code: 127
message: sh: 1: PGPASSWORD=1 /usr/bin/pg_dump: not found

'
in /home/****/vendor/sebastianfeldmann/cli/src/Command/Runner/Simple.php:61
`

Problem with double quote

"PGPASSWORD='1' /usr/bin/pg_dump" -w --username='postgres' --host='localhost' --dbname='****' --no-owner --file='***pgdump-20211020-1819.sql' --format='p'

Wrong

"PGPASSWORD='1' /usr/bin/pg_dump" 

Correct

PGPASSWORD='1' /usr/bin/pg_dump

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions