Use shell for Window resolution of envs
This commit is contained in:
parent
736806a53d
commit
a46aef2e7e
@ -109,7 +109,7 @@ export async function appBuild(params: {
|
|||||||
|
|
||||||
const dResult = new Deferred<{ isSuccess: boolean }>();
|
const dResult = new Deferred<{ isSuccess: boolean }>();
|
||||||
|
|
||||||
const child = child_process.spawn(command, args, { cwd });
|
const child = child_process.spawn(command, args, { cwd, shell: true });
|
||||||
|
|
||||||
child.stdout.on("data", data => {
|
child.stdout.on("data", data => {
|
||||||
if (data.toString("utf8").includes("gzip:")) {
|
if (data.toString("utf8").includes("gzip:")) {
|
||||||
|
@ -26,7 +26,8 @@ export async function keycloakifyBuild(params: {
|
|||||||
env: {
|
env: {
|
||||||
...process.env,
|
...process.env,
|
||||||
[onlyBuildJarFileBasenameEnvName]: onlyBuildJarFileBasename
|
[onlyBuildJarFileBasenameEnvName]: onlyBuildJarFileBasename
|
||||||
}
|
},
|
||||||
|
shell: true
|
||||||
});
|
});
|
||||||
|
|
||||||
child.stdout.on("data", data => process.stdout.write(data));
|
child.stdout.on("data", data => process.stdout.write(data));
|
||||||
|
@ -421,7 +421,8 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
...(realmJsonFilePath === undefined ? [] : ["--import-realm"])
|
...(realmJsonFilePath === undefined ? [] : ["--import-realm"])
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
cwd: buildContext.keycloakifyBuildDirPath
|
cwd: buildContext.keycloakifyBuildDirPath,
|
||||||
|
shell: true
|
||||||
}
|
}
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user