[sim] Get simulated app PID as int instead of NSNumber.

Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
This commit is contained in:
Eloy Durán
2013-12-20 15:05:57 +01:00
committed by Watson
parent 1d7b8b19a9
commit 53b7424127

View File

@@ -111,7 +111,7 @@ END
App.info 'Simulate', app
at_exit { system("stty echo") } if $stdout.tty? # Just in case the simulator launcher crashes and leaves the terminal without echo.
Signal.trap(:INT) { } if ENV['debug']
system "#{env} #{sim} #{debug} #{family_int} '#{simulate_device}' #{target} \"#{xcode}\" \"#{app}\" #{app_args}"
system "#{env} #{sim} #{debug} #{family_int} \"#{simulate_device}\" #{target} \"#{xcode}\" \"#{app}\" #{app_args}"
App.config.print_crash_message if $?.exitstatus != 0 && !App.config.spec_mode
exit($?.exitstatus)
end