diff options
author | Jose <jose@zeroc.com> | 2015-06-17 22:02:12 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-06-17 22:02:12 +0200 |
commit | 914de4bdbcd97510bf250337e6ebac2afec63d1f (patch) | |
tree | 33b33dcadf128ef6aa3ef84efd361812fc5d68ec /js/gulpfile.js | |
parent | Fixed ICE-6610: timeout test fails with IE 10 (diff) | |
download | ice-914de4bdbcd97510bf250337e6ebac2afec63d1f.tar.bz2 ice-914de4bdbcd97510bf250337e6ebac2afec63d1f.tar.xz ice-914de4bdbcd97510bf250337e6ebac2afec63d1f.zip |
Handle SIGBREAK on Windows
Diffstat (limited to 'js/gulpfile.js')
-rw-r--r-- | js/gulpfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js index 972f1997cf5..cf4814ef683 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -376,7 +376,7 @@ gulp.task("test:run-with-browser", ["watch"].concat(useBinDist ? ["test"] : ["bu require("./bin/HttpServer")(); var p = require("child_process").spawn("python", ["../scripts/TestController.py"], {stdio: "inherit"}); - process.on("SIGINT", function() { p.kill(); }); + process.on(process.platform == "win32" ? "SIGBREAK" : "SIGINT", function() { p.kill(); }); process.on("exit", function() { p.kill(); }); return gulp.src("./test/Ice/acm/index.html") .pipe(open("", {url: "http://127.0.0.1:8080/test/Ice/acm/index.html"})); |