1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
This commit is contained in:
Ruben Bridgewater
2016-04-01 17:12:45 +02:00
parent 218c0b35d7
commit 1c7c6dbdf1

View File

@@ -54,8 +54,9 @@ module.exports = {
confFile = confFile.replace('.conf', '.win32.conf');
redis = 'redis-64\\tools\\redis-server.exe';
}
var rp = spawn.sync(redis, [confFile], { stdio: 'inherit' });
var rp = spawn(redis, [confFile], { stdio: 'inherit' });
waitForRedis(true, function () {
done(null, {
spawnFailed: function () {
return false; // Remove if as soon as it's not necessary anymore
@@ -73,5 +74,6 @@ module.exports = {
rp.kill('SIGTERM');
}
});
}, port);
}
};