Tool: PowerShell ProTools EXE Packager / Visual Studio CODE
Version: 5.17.1
Dears,
I’ve one root ps1 file which calls other sub ps1 files using start-job -filepath … and argumentlist.
These sub ps1 files are not getting packaged into the exe.
I’d like to keep this structure as present.
root.ps1
– plugin\sub1.ps1
– plugin\sub2.ps1
– plugin\sub3.ps1
$var = “.\plugin\sub1.ps1”
start-job filepath $var -argumentlist xyz
I’m not sure how to accomplish this, can somebody give me an example?
Thanks,
Tim