Skip to content

Commit d22de29

Browse files
committed
Quote all the paths!
1 parent 7e5d79c commit d22de29

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

Source/Heavy/CppExporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CppExporter final : public ExporterBase {
3838
#else
3939
auto const heavyPath = heavyExecutable.getFullPathName();
4040
#endif
41-
StringArray args = { heavyPath, pdPatch, "-o", outdir.quoted() };
41+
StringArray args = { heavyPath.quoted(), pdPatch.quoted(), "-o", outdir.quoted() };
4242

4343
args.add("-n" + name);
4444

Source/Heavy/DPFExporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class DPFExporter final : public ExporterBase {
141141
#else
142142
auto const heavyPath = heavyExecutable.getFullPathName();
143143
#endif
144-
StringArray args = { heavyPath, pdPatch, "-o", outdir.quoted() };
144+
StringArray args = { heavyPath.quoted(), pdPatch.quoted(), "-o", outdir.quoted() };
145145

146146
args.add("-n" + name);
147147

Source/Heavy/DaisyExporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class DaisyExporter final : public ExporterBase {
254254
#else
255255
auto const heavyPath = heavyExecutable.getFullPathName();
256256
#endif
257-
StringArray args = { heavyPath, pdPatch, "-o", outdir.quoted() };
257+
StringArray args = { heavyPath.quoted(), pdPatch.quoted(), "-o", outdir.quoted() };
258258

259259
args.add("-n" + name);
260260

Source/Heavy/OWLExporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class OWLExporter : public ExporterBase {
9999
#else
100100
auto const heavyPath = heavyExecutable.getFullPathName();
101101
#endif
102-
StringArray args = { heavyPath, pdPatch, "-o", outdir.quoted() };
102+
StringArray args = { heavyPath.quoted(), pdPatch.quoted(), "-o", outdir.quoted() };
103103

104104
args.add("-n" + name);
105105

Source/Heavy/PdExporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class PdExporter final : public ExporterBase {
7070
#else
7171
auto const heavyPath = heavyExecutable.getFullPathName();
7272
#endif
73-
StringArray args = { heavyPath, pdPatch, "-o", outdir.quoted() };
73+
StringArray args = { heavyPath.quoted(), pdPatch.quoted(), "-o", outdir.quoted() };
7474

7575
args.add("-n" + name);
7676

Source/Heavy/WASMExporter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class WASMExporter : public ExporterBase {
6767
#else
6868
auto const heavyPath = heavyExecutable.getFullPathName();
6969
#endif
70-
StringArray args = { heavyPath, pdPatch, "-o", outdir.quoted() };
70+
StringArray args = { heavyPath.quoted(), pdPatch.quoted(), "-o", outdir.quoted() };
7171
args.add("-n" + name);
7272

7373
if (copyright.isNotEmpty()) {

0 commit comments

Comments
 (0)