function onFinish( code ) {
	if ( code !== 0 ) {
		proc.exitCode = code;
		return console.error( 'Child process exited with code `'+code + '`.' ); // eslint-disable-line no-console
	}
}
Callback invoked upon child process close.

@private
@param {number} code - exit code
@returns {void}