1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +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'); confFile = confFile.replace('.conf', '.win32.conf');
redis = 'redis-64\\tools\\redis-server.exe'; 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, { done(null, {
spawnFailed: function () { spawnFailed: function () {
return false; // Remove if as soon as it's not necessary anymore return false; // Remove if as soon as it's not necessary anymore
@@ -73,5 +74,6 @@ module.exports = {
rp.kill('SIGTERM'); rp.kill('SIGTERM');
} }
}); });
}, port);
} }
}; };