require('path').delimiter - ";" on Windows, ":" on POSIX #3728

Closed
tcr opened this Issue Jul 17, 2012 · 4 comments

5 participants

@tcr

This would reflect Python's os.pathsep, not to be confused with Python's os.sep or require('path').sep.

@langpavel
require('path').sep // returns '/' on my Debian
require('path').delimiter // it's undefined

Is this actual? What do you mean?

@OrangeDog

@langpavel I believe he's requesting that the delimiter property be added

@seanmonstar seanmonstar referenced this issue in shelljs/shelljs Sep 28, 2012
Closed

Cross-platform way to add to PATH #32

@isaacs

Sounds fine to me. Who wants to make the pull req? Should be a very short patch. Include docs and tests, please.

@isaacs

Should go on path, not os.

@serby serby added a commit to serby/node that referenced this issue Oct 1, 2012
@serby serby Platform specific path.delimiter as requested #3728 03d93af
@piscisaureus piscisaureus added a commit that closed this issue Oct 1, 2012
@serby serby path: add platform specific path delimiter
Closes #3728
Closes #4071
41e53e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment