Define PROMPT_TIMEOUT#682
Closed
dnikles wants to merge 1 commit intoInstallomator:mainfrom
dnikles:prompt_timeout
Closed
Define PROMPT_TIMEOUT#682dnikles wants to merge 1 commit intoInstallomator:mainfrom dnikles:prompt_timeout
dnikles wants to merge 1 commit intoInstallomator:mainfrom
dnikles:prompt_timeout
Conversation
If prompt_user or prompt_user_then_kill is used and the user does not respond to the prompt after PROMPT_TIMEOUT seconds, exit the script. The behavior is similar to hitting "not now". output: ``` Installomator % sudo utils/assemble.sh slack DEBUG=0 BLOCKING_PROCESS_ACTION=prompt_user_then_kill INSTALL=force PROMPT_TIMEOUT=3 2022-09-08 07:12:37 : INFO : slack : setting variable from argument DEBUG=0 2022-09-08 07:12:37 : INFO : slack : setting variable from argument BLOCKING_PROCESS_ACTION=prompt_user_then_kill 2022-09-08 07:12:38 : INFO : slack : setting variable from argument INSTALL=force 2022-09-08 07:12:38 : INFO : slack : setting variable from argument PROMPT_TIMEOUT=3 2022-09-08 07:12:38 : REQ : slack : ################## Start Installomator v. 10.0beta3, date 2022-09-08 2022-09-08 07:12:38 : INFO : slack : ################## Version: 10.0beta3 2022-09-08 07:12:38 : INFO : slack : ################## Date: 2022-09-08 2022-09-08 07:12:38 : INFO : slack : ################## slack 2022-09-08 07:12:38 : INFO : slack : BLOCKING_PROCESS_ACTION=prompt_user_then_kill 2022-09-08 07:12:38 : INFO : slack : NOTIFY=success 2022-09-08 07:12:38 : INFO : slack : LOGGING=INFO 2022-09-08 07:12:38 : INFO : slack : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2022-09-08 07:12:38 : INFO : slack : Label type: dmg 2022-09-08 07:12:38 : INFO : slack : archiveName: Slack.dmg 2022-09-08 07:12:38 : INFO : slack : no blocking processes defined, using Slack as default 2022-09-08 07:12:38 : INFO : slack : App(s) found: /Applications/Slack.app 2022-09-08 07:12:38 : INFO : slack : found app at /Applications/Slack.app, version 4.28.171, on versionKey CFBundleShortVersionString 2022-09-08 07:12:38 : INFO : slack : appversion: 4.28.171 2022-09-08 07:12:38 : INFO : slack : Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool. 2022-09-08 07:12:38 : INFO : slack : Latest version of Slack is 4.28.171 2022-09-08 07:12:38 : INFO : slack : There is no newer version available. 2022-09-08 07:12:38 : REQ : slack : Downloading https://slack.com/ssb/download-osx-universal to Slack.dmg 2022-09-08 07:12:40 : INFO : slack : found blocking process Slack 2022-09-08 07:12:43 : INFO : slack : Telling app Slack.app to open 2022-09-08 07:12:43 : INFO : slack : Reopened Slack.app as dnikles 2022-09-08 07:12:43 : INFO : slack : dnikles 2022-09-08 07:12:43 : INFO : slack : dnikles 2022-09-08 07:12:43 : INFO : slack : dnikles 2022-09-08 07:12:43 : INFO : slack : dnikles 2022-09-08 07:12:43 : ERROR : slack : ERROR: timed out waiting for user response 2022-09-08 07:12:43 : REQ : slack : ################## End Installomator, exit code 25 ```
Merged
Contributor
Author
|
Moved to #771 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If prompt_user or prompt_user_then_kill is used and the user does not respond to the prompt after PROMPT_TIMEOUT seconds, exit the script. The behavior is similar to hitting "not now". Default timeout is set to 24 hours.
output: