[issue32560] inherit the py launcher's STARTUPINFO

2018-07-12 Thread Steve Dower
Steve Dower added the comment: The "for example" line is the fix, it really is very simple. That said, we have no automatic validation for the launcher, and coming up with a good set of manual tests to check it is certainly not easy. -- ___ Python

[issue32560] inherit the py launcher's STARTUPINFO

2018-07-12 Thread STINNER Victor
STINNER Victor added the comment: "inherit the py launcher's STARTUPINFO" I read the issue twice, and honestly I have no idea how to implement that. So I removed the "easy (C)" keyword. If you still consider that it's an "easy (C)" issue, please describe step by step how to implement it: *

[issue32560] inherit the py launcher's STARTUPINFO

2018-01-15 Thread Steve Dower
Steve Dower added the comment: This sounds like a good idea to me - feel free to contribute your PR. -- versions: +Python 3.7 ___ Python tracker ___ ___

[issue32560] inherit the py launcher's STARTUPINFO

2018-01-15 Thread Eryk Sun
New submission from Eryk Sun : I've occasionally seen requests to find the path of the LNK shortcut that was used to run a script -- for whatever reason. This can be reliably supported in most cases by calling WinAPI GetStartupInfo. If the flag STARTF_TITLEISLINKNAME is set, then the lpTitle f