You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
Call Perl with built-in interpreter instead of execvp().
Exec'ing Perl worked fine but generated a very large command line in the process list and potentially exposed secrets.
This commit is contained in:
@ -146,7 +146,7 @@ cmdArchivePush()
|
||||
// Only want to see warnings and errors from async process
|
||||
cfgOptionSet(cfgOptLogLevelConsole, cfgSourceParam, varNewStrZ("warn"));
|
||||
|
||||
perlExec(perlCommand());
|
||||
perlExec();
|
||||
}
|
||||
// Wait for async process to exit (this should happen quickly) and report any errors
|
||||
else
|
||||
|
Reference in New Issue
Block a user