Windows runners

at 2010-01-15 in ReleasesAnnouncements by friebe (0 comments)

WindowsThe Windows runners provided with the XP Framework were not shutting down PHP correctly when Ctrl+C was pressed in the shell. In Windows console windows this can be easily worked around by setting the Console.CancelKeyPress property to a delegate which will kill the executed PHP runtime. If any of the XP runners was run from inside a Cygwin shell though, this is not possible - see http://www.cygwin.com/ml/cygwin/2006-12/msg00151.html - Cygwin simply kills the XP runner - and we thus cannot do anything (an experiment with a WMI monitoring process seemed to work but caused problems in certain circumstances) and you will have to continue to taskkill /f /pid XXXX'ing the "left-over" PHP processes manually:-(

A bugfix for this problem has been comitted to the XP Framework and will be available in the upcoming 5.7.7-RELEASE. If you're using an SVN head checkout (and are using Windows), you should update the runners as follows:

  $ cd ~/bin
$ wget 'http://xp-framework.net/downloads/releases/bin/setup' -O - | php



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES

Related

Find related articles by a search for «Windows».