{"size": 400, "ext": "js", "max_stars_repo_path": "single-files/node_57_script.js", "max_stars_repo_name": "philanderson888/nodejs", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "single-files/node_57_script.js", "max_issues_repo_name": "philanderson888/nodejs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "single-files/node_57_script.js", "max_forks_repo_name": "philanderson888/nodejs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.3333333333, "max_line_length": 77, "alphanum_fraction": 0.7125}
var exec = require('child_process').exec;

//EXEC PROCESS RUNS; CALLBACK ONLY FIRES WHEN CHILD PROCESS TERMINATES
// THIS IS DEFAULT (ONLY) BEHAVIOUR WHEN RUNNING CHILD_PROCESS.EXEC 

exec('node ./node_57_server_child_process.js', function(error,stdout,stderr){
  console.log('stdout: ', stdout);
  console.log('stderr: ', stderr);
  if(error !== null){
  	console.log('exec error: ', error);
  }
});