CEA > Exit > Delete Command Hangs

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
WirlyWirly
Posts: 276
Joined: 21 Oct 2020 23:33
Location: Win 10 @ 100% (3440x1440)

CEA > Exit > Delete Command Hangs

Post by WirlyWirly »

XYplorer v28.00.0703
Windows 10 @ 100% (3440x1440)


Hello,

After a recent bug report that turned out to only be a problem for some users, I'm wondering if this is another one; seeing as I can't reproduce the bug with a ::fresh instance.

Setting the Configuration > General > Custom Even Actions > Exit == delete 0, 0, lax(<xypath>\Temp\*) doesn't work.

After closing XY and looking through the TaskManager, I can see that the XYcopy.exe process is hanging there indefinitely. I can open then close XY multiple times and the new processes will stack up.
2025-11-20_11-11-08.png
2025-11-20_11-11-08.png (12.71 KiB) Viewed 309 times
I'm sending you my XYPlorer.ini Don, maybe you see something I don't?

admin
Site Admin
Posts: 65030
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CEA > Exit > Delete Command Hangs

Post by admin »

Should be fixed in next beta.

1) The problem was caused by calling a background process (XYcopy) while exiting the app. Now processes are forced to the foreground when triggered while exiting the app (i.e. by CEA Exit).

2) By the way, delete 0, 0, lax(<xypath>\Temp\*):
a) No need for lax(), you can just do delete 0, 0, "<xypath>\Temp\*".
b) Why <xypath>\Temp\? The default temp folder is <xydata>\Temp\. <xypath>\Temp\ is usually not even writable.

WirlyWirly
Posts: 276
Joined: 21 Oct 2020 23:33
Location: Win 10 @ 100% (3440x1440)

Re: CEA > Exit > Delete Command Hangs

Post by WirlyWirly »

Thanks, just updated and it's working great :beer:

I know I don't have to use lax(), I'm just in the habit of sticking it in whenever I'm working with paths :oops:

Also, I was playing with rclone's cache directory, so I pointed it to the first Temp folder I found while messing with the flags. I probably will end up using <xydata>\Temp :tup:

admin
Site Admin
Posts: 65030
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: CEA > Exit > Delete Command Hangs

Post by admin »

Alright. Just to be clear: there are absolutely no disadvantages to using lax().

Post Reply