MCPcopy Create free account
hub / github.com/Azure/powershell / _cloneExecOptions

Method _cloneExecOptions

lib/index.js:2088–2102  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

2086 .join('');
2087 }
2088 _cloneExecOptions(options) {
2089 options = options || {};
2090 const result = {
2091 cwd: options.cwd || process.cwd(),
2092 env: options.env || process.env,
2093 silent: options.silent || false,
2094 windowsVerbatimArguments: options.windowsVerbatimArguments || false,
2095 failOnStdErr: options.failOnStdErr || false,
2096 ignoreReturnCode: options.ignoreReturnCode || false,
2097 delay: options.delay || 10000
2098 };
2099 result.outStream = options.outStream || process.stdout;
2100 result.errStream = options.errStream || process.stderr;
2101 return result;
2102 }
2103 _getSpawnOptions(options, toolPath) {
2104 options = options || {};
2105 const result = {};

Callers 1

execMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected