fix terminal echo

This commit is contained in:
Laurent Sansonetti
2012-03-23 16:29:52 +01:00
parent 372da73ef2
commit 67a4ef79c4

View File

@@ -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