Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add std.process.thisProcessFile. #1463

Closed
wants to merge 3 commits into from

Conversation

Abscissa
Copy link
Contributor

No description provided.

uint length;

version (Windows)
length = GetModuleFileNameA(null, file.ptr, to!uint(file.length-1));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ANSI version, seriously?
It either way needs to convert to UTF so rather use the -W one).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, good catch. This was updated from and older version I had lying around, but apparently not updated enough...

@yebblies
Copy link
Member

See pull #1224

@Abscissa
Copy link
Contributor Author

@yebblies: Thanks, didn't see that. Looks like that version is much better, so I'll close this one.

@Abscissa Abscissa closed this Aug 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants