Alternate pipe char for CLI script

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 strongly 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, and we won't have to search for that vital information.

: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
jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Alternate pipe char for CLI script

Post by jupe »

Quite often when I am trying to repro something, I start in fresh and change a few things at startup by /script, but use alternate pipe char for ease. Then I like to do a #190 restart occasionally to get back to a fresh start but with original sent cmds, (which make config changes), but the pipe char gets swapped for dbl quotes, so it only works correctly on first run, not after the restart. I don't think I explained that very well, but anyway to repro just run this:

run """<xy>"" /fresh /script=|::msg ""Works first time, not after restart though."", 16; #190;|";

I just added the 190 to the script for the repro, of course I wouldn't do that normally, as it should cause a endless loop, but because the pipes get swapped for quotes it fails after the restart.

Hopefully this is something that wouldn't be a hassle to fix, otherwise since its probably only encountered in rare situations, I can just continue to work around it.

PS: Forgot to mention it of course also happens with Throw Away Clone, but the above scenario is the way I encounter it more.

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

Re: Alternate pipe char for CLI script

Post by admin »

Yeah, got it. Should be fixed in next beta.

Post Reply