bin/conquer.js
function kill(noMsg, signal) {
	if (!instance)
		return false;

	try {
		if (signal)
			instance.kill(signal);
		else
			process.kill(instance.pid);
		
		if ((noMsg || false) !== true)
			logger.log('Killed', clc.green(script));
	} catch (ex) {
		// Process was already dead.
		return false;
	} 
	
	return true;
}
function kill(noMsg, signal) {
	if (!instance)
		return false;

	try {
		if (signal)
			instance.kill(signal);
		else
			process.kill(instance.pid);
		
		if ((noMsg || false) !== true)
			logger.log('Killed', clc.green(script));
	} catch (ex) {
		// Process was already dead.
		return false;
	} 
	
	return true;
}
function kill ( noMsg , signal ) { if ( ! instance ) return false ; try { if ( signal ) instance . kill ( signal ) ; else process . kill ( instance . pid ) ; if ( ( noMsg || false ) !== true ) logger . log ( 'Killed' , clc . green ( script ) ) ; } catch ( ex ) { // Process was already dead. return false ; } return true ; }
Kills the parser.
@param {Boolean} [noMsg] - indicates if no message should be written to the
log. Defaults to false.
@param {String} [signal] - indicates which kill signal that sould be sent
toLowerCase the child process (only applicable on Linux). Defaults to null.
@return {Bool} - true if the process was killed; otherwise false.
Kills the parser .