Problem executing a package containing a script in session setup mode
Published: May 16, 2022 - 10:22
Hello,
I have a package that runs a script in session setup mode. When I run the package on a computer, it doesn't work, but the script itself runs fine.
The script in question is:
`def install():
run(r'wapt-get session-setup test')`.
Apparently, this mode only allows execution at startup. However, from the command line on the computer, I can force execution using `wapt-get session-setup test`.
Is there a way to force this command to run through Wapt? Thank you.
The startup method has several drawbacks that are incompatible with our needs.
Best regards,
Albin
I have a package that runs a script in session setup mode. When I run the package on a computer, it doesn't work, but the script itself runs fine.
The script in question is:
`def install():
run(r'wapt-get session-setup test')`.
Apparently, this mode only allows execution at startup. However, from the command line on the computer, I can force execution using `wapt-get session-setup test`.
Is there a way to force this command to run through Wapt? Thank you.
The startup method has several drawbacks that are incompatible with our needs.
Best regards,
Albin