Skip to content

Commit

Permalink
fix(TDOPS-4938): force windows to use a shell (#4832)
Browse files Browse the repository at this point in the history
* TDOPS-4938: force windows to use a shell

* changeset'
  • Loading branch information
lmaillet authored Aug 3, 2023
1 parent fc50964 commit d9616e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-paws-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/scripts-core': patch
---

Fix the use of spawn on windows
1 change: 1 addition & 0 deletions tools/scripts-core/src/scripts/build-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export default async function build(env, presetApi, unsafeOptions) {
{
stdio: 'inherit',
env,
shell: process.platform === 'win32',
},
);
babelSpawn.on('exit', status => {
Expand Down

0 comments on commit d9616e4

Please sign in to comment.