mirror of https://github.com/cutefishos/calamares
[shellprocess] Implement timeout setting
- For both shellprocess and contextualprocess, add a top-level key "timeout" that defaults to 10 seconds (which it already did). - Allows setting "global" timeout for command-lists, while still allowing individual timeouts per-command. - Setting timeout per global variable in contextualprocess is not supported; that would restrict the possible space of comparisions, while not supporting a global setting timeout seems reasonable enough. Use instances if you need wildly variable timeouts and don't want to set them individually.main
parent
2da430fa36
commit
c2aca1f5c6
Loading…
Reference in New Issue