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

relative logfile-paths for second connection/window broken #130

Closed
freggeldoe opened this Issue Jan 20, 2014 · 2 comments

Comments

2 participants
@freggeldoe

freggeldoe commented Jan 20, 2014

When using relative logfile paths the source-directory (and drive) seems to be inconsistent.
When starting puttytray in "d:\puttytray" and using a relative logfile path e.g. "logs&H &Y-&M-&D &T.log" the log for the first connection gets created in "d:\puttytray\logs".
When a second connection (window) is opened, the logfile creation fails.

Using "\puttytray\logs&H &Y-&M-&D &T.log" (notice the leading slash) revealed, that the second logfile creation takes place on "c:"-drive (logfiles get created in "c:\puttytray\logs" if this directory exists).

Somehow puttytray got lost and forgot it's starting directory.

@FauxFaux

This comment has been minimized.

Show comment
Hide comment
@FauxFaux

FauxFaux Feb 25, 2014

Owner

This depresses me a lot. Just so everyone knows.

Owner

FauxFaux commented Feb 25, 2014

This depresses me a lot. Just so everyone knows.

@FauxFaux

This comment has been minimized.

Show comment
Hide comment
@FauxFaux

FauxFaux Feb 25, 2014

Owner

I reviewed all this code for that problem. I probably got most of them, on non-error paths. If anyone has a reproducible way to break it, please raise a new issue.

Owner

FauxFaux commented Feb 25, 2014

I reviewed all this code for that problem. I probably got most of them, on non-error paths. If anyone has a reproducible way to break it, please raise a new issue.

@FauxFaux FauxFaux closed this Feb 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment