-
Notifications
You must be signed in to change notification settings - Fork 7.3k
NODE_PATH parses on ':' instead of ';' #1349
Comments
@ry: You mentioned you want all plattform stuff in uv, is that also the case here? If so what would be the solution? A binding to split paths? |
It's a pretty trivial fix. isaacs/node@e78a626a6e32f5cc9cb2 @ry @piscisaureus @felixge Care to comment? |
I'm fine with the patch, it's nice and simple. @ry just mentioned he wants all plattform stuff in libuv, so it's his call I guess. |
@felixge @isaacs |
yes, going through the c++ layer for this seems stupid. +1 |
The ayes have it. |
Though still a +1 for |
Java also does a similar thing for path/directory separators. I think it would be a useful thing to expose to users. |
|
It may be nice to have a filesystem separator too, though perhaps in a different module. |
NODE_PATH fails on windows since absolute paths start with 'C:/' and currently does process.env.NODE_PATH.split(":"). PATH on windows should be delimited by ';'.
The text was updated successfully, but these errors were encountered: