mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-03-22 11:09:07 +08:00
Remove stdio: 'inherit'
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -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);
|
||||
|
||||
2
index.js
2
index.js
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user