On Thu, Aug 1, 2013 at 8:52 AM, gajendra rawat <[email protected]> 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/Resources/node_modules/appium".
>
> On launching my application it is not taking application path after space.
>
> Please provide the alternative option of "__dirname" to access the current
> directory.

It sounds like you have a path handling bug in your application
somewhere.  __dirname doesn't filter out (or truncate on) spaces in
the file path.

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to