Permalink
Browse files

fixes #1519

  • Loading branch information...
1 parent 6c0c00a commit 80f9ef44319b504e4e186544bc99176616947343 @thejh committed Jan 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/node.js
View
@@ -81,8 +81,8 @@
if (process._print_eval) console.log(result);
} else if (process.argv[1]) {
// make process.argv[1] into a full path
- var path = NativeModule.require('path');
- process.argv[1] = path.resolve(process.argv[1]);
+ var fs = NativeModule.require('fs');
+ process.argv[1] = fs.realpathSync(process.argv[1]);
// If this is a worker in cluster mode, start up the communiction
// channel.

0 comments on commit 80f9ef4

Please sign in to comment.