We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f6cb7 commit ee1a6a6Copy full SHA for ee1a6a6
lib/simctl.ts
@@ -117,7 +117,9 @@ export class Simctl implements ISimctl {
117
}
118
119
private simctlExec(command: string, args: string[], opts?: any): any {
120
- let fullCommand = (["xcrun", "simctl", command].concat(args)).join(" ");
+ let escapedArgs = args.map((arg) => `"${arg}"`);
121
+ let fullCommand = (["xcrun", "simctl", command].concat(escapedArgs)).join(" ");
122
+
123
return childProcess.execSync(fullCommand, opts).toString().trim();
124
125
0 commit comments