firefly-compiler 0.4.52 → 0.4.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/NodeSystem.ff
CHANGED
|
@@ -117,15 +117,10 @@ extend self: NodeSystem {
|
|
|
117
117
|
ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String
|
|
118
118
|
);
|
|
119
119
|
}
|
|
120
|
-
if(process.platform === 'win32') {
|
|
121
|
-
arguments_ = ['/C', ...[command_, ...arguments_].map(argument =>
|
|
122
|
-
argument.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1")
|
|
123
|
-
)];
|
|
124
|
-
command_ = 'cmd.exe';
|
|
125
|
-
}
|
|
126
120
|
const newProcess = childProcess.spawn(command_, arguments_, {
|
|
127
121
|
cwd: workingDirectory_.value_,
|
|
128
122
|
windowsHide: true,
|
|
123
|
+
shell: process.platform === 'win32',
|
|
129
124
|
signal: $task.controller.signal,
|
|
130
125
|
killSignal: killSignal_,
|
|
131
126
|
env: environment,
|
|
@@ -369,15 +369,10 @@ export async function NodeSystem_execute$(self_, command_, arguments_, standardI
|
|
|
369
369
|
ff_core_Ordering.ff_core_Ordering_Order$ff_core_String_String
|
|
370
370
|
);
|
|
371
371
|
}
|
|
372
|
-
if(process.platform === 'win32') {
|
|
373
|
-
arguments_ = ['/C', ...[command_, ...arguments_].map(argument =>
|
|
374
|
-
argument.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1")
|
|
375
|
-
)];
|
|
376
|
-
command_ = 'cmd.exe';
|
|
377
|
-
}
|
|
378
372
|
const newProcess = childProcess.spawn(command_, arguments_, {
|
|
379
373
|
cwd: workingDirectory_.value_,
|
|
380
374
|
windowsHide: true,
|
|
375
|
+
shell: process.platform === 'win32',
|
|
381
376
|
signal: $task.controller.signal,
|
|
382
377
|
killSignal: killSignal_,
|
|
383
378
|
env: environment,
|
package/package.json
CHANGED