Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-01-29
05:41 • Ticket [4f0b5767ac] exec does not handle app execution aliases on Windows st... artifact: 2ef4e263a6 user: apnadkarni
04:29 • Ticket [4f0b5767ac]: 5 changes artifact: d38f02204f user: chw
2025-01-28
05:43
Merge fix for [4f0b5767ac]. Exec of App Execution Aliases on Windows check-in: 222f6ff309 user: apnadkarni tags: core-8-branch
05:24
Cherry pick fix for [4f0b5767ac]. Exec of App Execution Aliases on Windows check-in: bc9227d33f user: apnadkarni tags: core-8-6-branch
05:00 • Closed ticket [4f0b5767ac]: exec does not handle app execution aliases on Window... artifact: c8122634f2 user: apnadkarni
04:56
Fix [4f0b5767ac]. Exec of App Execution Aliases on Windows check-in: b0d73da3df user: apnadkarni tags: trunk, main
2025-01-27
18:12 • Ticket [4f0b5767ac] exec does not handle app execution aliases on Windows st... artifact: 97462bd591 user: oehhar
17:05 • Ticket [4f0b5767ac]: 3 changes artifact: 486d33541d user: apnadkarni
17:05 • Ticket [4f0b5767ac]: 3 changes artifact: 12094c032d user: apnadkarni
2025-01-26
04:46 • Ticket [4f0b5767ac]: 3 changes artifact: b5330500b0 user: apnadkarni
04:39
Added test for [4f0b5767ac]. closed check-in: 311137c977 user: apnadkarni tags: bug-4f0b5767ac
04:24
Proposed fix [4f0b5767ac]. exec of App Execution Alias check-in: 5778698fd9 user: apnadkarni tags: bug-4f0b5767ac
03:20 • New ticket [4f0b5767ac] exec does not handle app execution aliases on Windows</i... artifact: 7e5e93eeeb user: apnadkarni

exec does not handle app execution aliases on Windows

Closed / Fixed4f0b5767acbec00396762e6a3a6d10f59d2be778Created 2 years agoUpdated 2 years ago
Descriptionmarkdown2025-01-26 03:20:15

Reported by Julian Noble on the chat:

JulianNoble ›	exec is not so nice on windows..  some modern apps seem to be installed as reparse points - which tcl doesn't seem to handle
[22:08]	JulianNoble ›	winget being a notable example

Proposed fix in bug-4f0b5767ac

Referenced by5
apnadkarni Ticket [4f0b5767ac]: 3 changes [History diff]2025-01-26 04:46:48
apnadkarniplain2025-01-27 17:05:00
Awaiting approval to merge into trunk.
apnadkarniplain2025-01-27 17:05:35
Forgot to note - passed github actions CI.
oehharwiki2025-01-27 18:12:41

Great work! Please merge. Thanks, Harald

apnadkarniplain2025-01-28 05:00:30
Thanks, Harald.

@sebres, saw your comment on the chat. However, the MSDN docs say FILE_FLAG_OPEN_REPARSE_POINT is ignored for non-reparse points so I don't think checking attr is really necessary. I have no objection if you want to add the check but I don't want to make a change and go through another github CI cycle as I don't believe that check is required.

Merged in [b0d73da3df].
chwplain2025-01-29 04:29:32
Could it be that check-in [bc9227d33f] and friends leak
a HANDLE for the FILE_ATTRIBUTE_REPARSE_POINT case?
apnadkarniplain2025-01-29 05:41:42
It could indeed be so :-) Fixed now. Tx @chw
Log in (anonymous is fine) to add a comment.