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

Filename passed as argument when launching module in Python #801

Open
zjp opened this issue Aug 1, 2024 · 1 comment
Open

Filename passed as argument when launching module in Python #801

zjp opened this issue Aug 1, 2024 · 1 comment

Comments

@zjp
Copy link

zjp commented Aug 1, 2024

Possibly related to #798

I'm working on a GUI program that can take in files as arguments, and when I launch its module I can see that it always gets a list of some of the buffers I have open, I think any buffer I've had focused while launching the debugger. It would be nice if this could be avoided with a configuration option.

@zjp zjp changed the title Filename passed as as argument when launching module in Python Filename passed as argument when launching module in Python Aug 1, 2024
@zjp
Copy link
Author

zjp commented Aug 1, 2024

I found that if I took (buffer-file-name) out of the list of possibilities for program here:

(buffer-file-name)))

I could launch my program without error or passed in filenames.

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

1 participant