mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-18 12:13:28 +08:00
fix terminal echo
This commit is contained in:
@@ -65,6 +65,7 @@ task :simulator => ['build:simulator'] do
|
||||
sim = File.join(App.config.bindir, 'sim')
|
||||
debug = (ENV['debug'] || '0') == '1' ? 1 : 0
|
||||
App.info 'Simulate', app
|
||||
at_exit { system("stty echo") } # Just in case the simulator launcher crashes and leaves the terminal without echo.
|
||||
sh "#{env} #{sim} #{debug} #{family_int} #{target} \"#{xcode}\" \"#{app}\""
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user