firefly-compiler 0.4.54 → 0.4.56

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.
@@ -117,6 +117,12 @@ 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_ = arguments_.map(argument =>
122
+ argument.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1")
123
+ );
124
+ command_ = command_.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1");
125
+ }
120
126
  const newProcess = childProcess.spawn(command_, arguments_, {
121
127
  cwd: workingDirectory_.value_,
122
128
  windowsHide: true,
@@ -369,6 +369,12 @@ 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_ = arguments_.map(argument =>
374
+ argument.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1")
375
+ );
376
+ command_ = command_.replaceAll(/([^A-Za-z0-9/_-])/g, "^$1");
377
+ }
372
378
  const newProcess = childProcess.spawn(command_, arguments_, {
373
379
  cwd: workingDirectory_.value_,
374
380
  windowsHide: true,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.54",
7
+ "version": "0.4.56",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.54",
7
+ "version": "0.4.56",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"