Re: [nodejs] Is there any alternative option of __dirname to accessing current directory

2013-08-01 Thread Ben Noordhuis
On Thu, Aug 1, 2013 at 8:52 AM, gajendra rawat wrote: > Hello, > > I am working in a script in node.js, in which I have to access current > directory. For this i am using "__dirname". > > But there is a space occurred in my Directory path > "Users/SS/Desktop/new > Folder/Appium.app/Contents/Resou

Re: [nodejs] Is there any alternative option of __dirname to accessing current directory

2013-08-01 Thread Arnout Kazemier
process.cwd()? On Thursday, August 1, 2013 at 8:52 AM, gajendra rawat wrote: > Hello, > > I am working in a script in node.js, in which I have to access current > directory. For this i am using "__dirname". > > But there is a space occurred in my Directory path > "Users/SS/Desktop/new > Fol

[nodejs] Is there any alternative option of __dirname to accessing current directory

2013-08-01 Thread gajendra rawat
Hello, I am working in a script in node.js, in which I have to access current directory. For this i am using "*__dirname*". But there is a space occurred in my Directory path "*Users/SS/Desktop/new Folder /Appium.app/Contents/Resources/node_modules/appium".* On launching my application it is