1
Vote

Chiron should handle Ctrl-Cs gracefully

description

When you Ctrl-C a chiron process, it always emits a non-zero exit code. Unless there's some clean way to shutdown Chiron I'm unaware of, this signal needs to be caught by chiron (http://www.hanselman.com/blog/MoreTipsFromSairamaCatchingCtrlCFromANETConsoleApplication.aspx shows how this is possible in .NET) and chiron.exe should emit a zero exit code.
 
C:\vsl-ip26\Merlin\Main\Languages\IronPython\Tests\silverlight_sanity>"C:\Program Files\IronPython 2.6\Silverlight\bin\Chiron.exe" /w
Microsoft(R) Silverlight(TM) Development Utility. Version 1.0.0.0
Copyright (c) Microsoft Corporation. All rights reserved.
 
Chiron serving 'C:\vsl-ip26\Merlin\Main\Languages\IronPython\Tests\silverlight_sanity' as http://localhost:2060/
^C
C:\vsl-ip26\Merlin\Main\Languages\IronPython\Tests\silverlight_sanity>echo %ERRORLEVEL%
-1073741510

comments