Remove stdio: 'inherit'

This commit is contained in:
Matthias Pigulla committed 2021-02-28 16:07:26 +00:00
1 parent ef63fdb1df
commit 9406a51fa5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ try {
var sshAdd;
try {
let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { stdio: 'inherit', env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } });
let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } });
} catch (exception) {
console.log(sshAdd);
console.log(exception);
+1 -1
View File
@@ -81,7 +81,7 @@ try {
var sshAdd;
try {
let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { stdio: 'inherit', env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } });
let sshAdd = child_process.execSync(`ssh-add ${keyFile}`, { env: { 'SSH_ASKPASS': `${homeSsh}/askpass` } });
} catch (exception) {
console.log(sshAdd);
console.log(exception);