Snapin Pack Arguments double-quotes problem
-
This post is deleted! -
The same thing is happening on my end as well.
steps to reproduce:
- create new snap pack
- select powershell script template
- notice the string in
Snapin Pack Argumentsthat includes quotes
**-ExecutionPolicy Bypass -File "[FOG_SNAPIN_PATH]\MyScript.ps1" - attach zip file
- click add and wait for the snap pack tosave
- go back to view the snap pack and see that anything including and after the first double quote vanishes.
**powershell.exe -ExecutionPolicy Bypass -File
Fog server OS is Alma 9.7
Fog == 1.5.10.1733

-
Looking at my other Fog server at home, it does not appear to have the same issue. I can dig deeper here but on the surface, the major difference is that the home machine is Ubuntu 24.04 with fog version 1.5.10.1650
-
This post is deleted! -
This post is deleted! -
My Fog version : 1.5.10.1734 over Ubuntu 22.
It just looks like double-quotes escaping problem… -
@Infojoe I tried escaping the quotes but that didn’t change anything on my side. And it’s odd that the template form in the snap pack does not include escapes if they are required.