Skip to content

Commit

Permalink
fix: Set shell option to true while running gradle script on Windows (
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Apr 18, 2024
1 parent c4cae0c commit 3159c21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/server-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ class ServerBuilder {
const gradlebuild = new SubProcess(cmd, args, {
cwd: this.serverPath,
stdio: ['ignore', 'pipe', 'pipe'],
// https://github.com/nodejs/node/issues/52572
shell: system.isWindows(),
windowsVerbatimArguments: true
});
let buildLastLines = [];
Expand Down

0 comments on commit 3159c21

Please sign in to comment.