Hi, so am trying to call a powershell script from shell but just seems to do nothing. Anyone got pwsh running from a global game script?
I have a global game script that runs 'after created' and does all the normal shell stuff, but if i try to call/run pwsh it seems to do nothing.
example script:
pwsh makefile.ps1
pwd > pwd.txt
the pwd.txt gets created ok so the shell is running but the powershell script does nothing. doesn't seem to error or anything either. all modules are installed and in my testing i am calling base cmdlets. the script runs fine in interactive console. I have tried with shebang in the ps1 script, i have tried with shebang in the tcadmin shell script... but nada..
Any ideas?