Skip to content

Commit 1ff4693

Browse files
Fatme HavaluovaFatme Havaluova
authored andcommitted
Respect application arguments
1 parent 2198a33 commit 1ff4693

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/simctl.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ export class Simctl implements ISimctl {
1717

1818
args = args.concat([deviceId, applicationIdentifier]);
1919

20+
if(options.args) {
21+
let applicationArgs = options.args.trim().split(/\s+/);
22+
_.each(applicationArgs, (arg: string) => args.push(arg));
23+
}
24+
2025
return this.simctlExec("launch", args);
2126
}
2227

0 commit comments

Comments
 (0)