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

'pwd'; # Current working directory is not working for windows #4

Open
ashish95705 opened this issue Apr 19, 2016 · 3 comments
Open

Comments

@ashish95705
Copy link

Hi,

I am using windows LCOV package and there in lcov.perl and geninfo.perl scripts , our $cwd = 'pwd'; # Current working directory is used.

When executed on windows cmd prompt, it giving error - pwd is not recognized as internal or external command. Tried to use $cwd=getcwd. Once i use it, lcov.info is not getting generated, however, gcda files exists.

Please help us in solving this issue.

@valbok
Copy link
Owner

valbok commented Apr 20, 2016

Hi, could you please provide console output?
Also if you do not have pwd, you could type manually path to dir or use http://stackoverflow.com/questions/921741/windows-equivalent-to-unix-pwd

@pennam
Copy link

pennam commented Jul 13, 2016

Had the same issue fixed with your suggested link.

http://stackoverflow.com/a/921762

@tehKaiN
Copy link

tehKaiN commented Aug 10, 2018

I had same problem. Changing:

our $cwd = `pwd`;    # Current working directory

to:

our $cwd = `cd`;    # Current working directory

Solved all problems. Only HTML output is bugged, but I only needed .info anyway.

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

No branches or pull requests

4 participants