Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3c4b89c

Browse files
committed
Run the archive command through exec
1 parent 6b15b7b commit 3c4b89c

File tree

1 file changed

+1
-1
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+1
-1
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def set_archiving(
661661
options['archive_mode'] = 'on'
662662

663663
if custom_archive_command is None:
664-
archive_command = " ".join([f'"{init_params.probackup_path}"',
664+
archive_command = " ".join(['exec', f'"{init_params.probackup_path}"',
665665
'archive-push', *self.backup_dir.pb_args])
666666
if os.name == "nt":
667667
archive_command = archive_command.replace("\\", "\\\\")

0 commit comments

Comments
 (0)