spawnAsync = async (command, options) => {
	return new Promise((resolve, reject) => {
		const child = spawn(command, {
			...globalSpawnOpts,
			...options
		});

		child.on('exit', (code) => {
			if (code === 0) {
				resolve();
			} else {
				reject();
			}
		});
	});
}
@param {string} command
@param {SpawnOptions} options