ios-control / ios-sim

Command-line application launcher for the iOS Simulator
Apache License 2.0
1.49k stars 253 forks source link

How to run ios-sim all command through python script #267

Open prasenraj opened 4 years ago

prasenraj commented 4 years ago

can you please help me how to run ios-sim command from python? ex - ios-sim launch /Users/pp/Desktop/sampleProject.app/ --devicetypeid com.apple.CoreSimulator.SimDeviceType.iPhone-6

but when I try from python - like this import os

os.system('"ios-sim install /Users/pp/Desktop/sampleProject.app/ --devicetypeid com.apple.CoreSimulator.SimDeviceType.iPhone-6"')

getting error - No such file or directory

please help me