0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-28 22:46:31 +01:00

escape backslashes for windows pipe name

This commit is contained in:
Ryan Dahl 2011-07-21 14:19:24 -07:00
parent a0198d065d
commit a6a3bf6d47

View File

@ -29,7 +29,7 @@ exports.tmpDir = path.join(exports.testDir, 'tmp');
exports.PORT = 12346;
if (process.platform == 'win32') {
exports.PIPE = '\\.\pipe\libuv-test';
exports.PIPE = '\\\\.\\pipe\\libuv-test';
} else {
exports.PIPE = exports.tmpDir + '/test.sock';
}