Open
Description
Node version : v16.13.1
OS : Windows 10
By using native shell (CMD under Windows)
const child = shell.exec(
'ls'
)
console.log(child.stdout)
We are able to get stdout.
However, if we specify another shell (git-bash for me)
const child = shell.exec(
'ls',
{ shell: bashPath, windowsHide: true }
)
console.log(child.stdout)
In this case, stdout is empty :(
Reagrds,
Metadata
Assignees
Labels
No labels