You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched open requests and couldn't find a duplicate
What is the idea?
@jaimergp,
Is there a way for the post-install script to determine whether the installer is running in silent (.exe with /S) or batch (.sh with -b) mode?
Otherwise, is it possible to implement a feature in which command-line arguments provided to the installer (.exe, .sh or .pkg) are passed to the post-install script?
Why is this needed?
For our Spyder installer, the post-install script is designed to launch Spyder automatically upon completing the install. It is desirable to forego this behavior if the Spyder installer is executed from the command-line in either batch or silent mode.
The ability to pass command-line arguments to the post-install script could provide more flexibility for developers that use the post-install script.
Checklist
What is the idea?
@jaimergp,
Is there a way for the
post-install
script to determine whether the installer is running in silent (.exe
with/S
) or batch (.sh
with-b
) mode?Otherwise, is it possible to implement a feature in which command-line arguments provided to the installer (
.exe
,.sh
or.pkg
) are passed to thepost-install
script?Why is this needed?
For our Spyder installer, the post-install script is designed to launch Spyder automatically upon completing the install. It is desirable to forego this behavior if the Spyder installer is executed from the command-line in either batch or silent mode.
The ability to pass command-line arguments to the post-install script could provide more flexibility for developers that use the post-install script.
What should happen?
No response
Additional Context
spyder-ide/spyder#22730
The text was updated successfully, but these errors were encountered: