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

Could the working directory be set to that of the executable being traced? #156

Open
jrmoore opened this issue Aug 13, 2024 · 0 comments
Open
Labels

Comments

@jrmoore
Copy link

jrmoore commented Aug 13, 2024

When tracing an installation or program execution, the working directory for the newly created process seems to default to the one of the Uninstall Tool process, which is "%ProgramFiles%\Uninstall Tool" if launched using the shortcuts created during installation.

Some programs use the current working directory to write files to, e.g., configuration ones, and after tracing any such programs the Uninstall Tool folder would contain files pertaining to the traced program instead. Setting the working directory to the one where the process to be traced is for the new process addresses the issue.

@kleuter kleuter added the bug label Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants