/* by Oratio.io */

//Modules
var child_process = require('child_process');
var fs = require('fs');

function Child(location, timeout, filename, encoding, commandType){
  this.encoding = encoding || 'utf8';
  this.commandType = commandType || 'node';
  this.filename = filename;
  this.timeout = timeout || 6 * 60;
  fs.readFile(location, this.encoding, function(error, file){
    this.file = file;
  });
}

Child.prototype.spawn = function(){
  return child_process.spawn(this.commandType, ['./child', this.file, this.timeout.toString()], { stdio: ['pipe', 'pipe', 'pipe', 'ipc'] });
}

module.exports = Child;

@@ -443,52 +443,18 @@
 %7B%0A  
-return child_process.spawn(this.commandType,
+var args =
  %5B'.
@@ -461,16 +461,31 @@
 /child',
+ this.filename,
  this.fi
@@ -512,16 +512,69 @@
 tring()%5D
+;%0A  return child_process.spawn(this.commandType, args
 , %7B stdi

Update spawner.js