diff --git a/app.js b/app.js index 383d6045..67117ca9 100755 --- a/app.js +++ b/app.js @@ -157,7 +157,8 @@ function compile(req, res) { } var child = child_process.spawn( compiler, - options + options, + {detached: true} ); var stdout = ""; var stderr = ""; diff --git a/etc/config/gcc-explorer.lud-ldnmg01.properties b/etc/config/gcc-explorer.lud-ldnmg01.properties index 7efeb003..d8bc034d 100644 --- a/etc/config/gcc-explorer.lud-ldnmg01.properties +++ b/etc/config/gcc-explorer.lud-ldnmg01.properties @@ -1,7 +1,8 @@ # Default settings for GCC Explorer. port=10240 -compileTimeoutMs=4000 +compileTimeoutMs=50 compilers=/usr/bin/g++-4.4:/usr/bin/g++-4.5:/usr/bin/g++-4.6:/usr/bin/g++-4.7:/usr/bin/clang++:/home/mgodbolt/apps/intel-icc-oss/bin/icc:/site/apps/gcc-4.7.2-drw.patched.6/bin/g++:/site/apps/gcc-4.8.0-drw.1/bin/g++ +compiler-wrapper=./c-preload/compiler-wrapper #compilers=/usr/bin/gdc:/usr/bin/gdc-4.4:/usr/bin/gdc-4.6 #compileFilename=example.d #postProcess=d/demangle diff --git a/package.json b/package.json index 4b371c68..9e231b14 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "author": "Matt Godbolt ", "name": "gcc-explorer", "description": "Investigate what on earth GCC does", - "version": "0.0.1", + "version": "0.0.2", "engines": { - "node": "0.6.x" + "node": "0.10.x" }, "main": "./app.js", "dependencies": {