Alternate pipe char for CLI script
Posted: 25 Dec 2024 07:04
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:
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.
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.