StorageExecutable check_exit_code default to false

This commit is contained in:
Amos Bird 2023-08-12 09:55:32 +08:00
parent 69ca36bfdf
commit b6de70b042
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -16,7 +16,7 @@ class ASTStorage;
M(UInt64, command_read_timeout, 10000, "Timeout for reading data from command stdout in milliseconds.", 0) \ M(UInt64, command_read_timeout, 10000, "Timeout for reading data from command stdout in milliseconds.", 0) \
M(UInt64, command_write_timeout, 10000, "Timeout for writing data to command stdin in milliseconds.", 0) \ M(UInt64, command_write_timeout, 10000, "Timeout for writing data to command stdin in milliseconds.", 0) \
M(ExternalCommandStderrReaction, stderr_reaction, ExternalCommandStderrReaction::NONE, "Reaction when external command outputs data to its stderr.", 0) \ M(ExternalCommandStderrReaction, stderr_reaction, ExternalCommandStderrReaction::NONE, "Reaction when external command outputs data to its stderr.", 0) \
M(Bool, check_exit_code, true, "Throw exception if the command exited with non-zero status code.", 0) \ M(Bool, check_exit_code, false, "Throw exception if the command exited with non-zero status code.", 0) \
DECLARE_SETTINGS_TRAITS(ExecutableSettingsTraits, LIST_OF_EXECUTABLE_SETTINGS) DECLARE_SETTINGS_TRAITS(ExecutableSettingsTraits, LIST_OF_EXECUTABLE_SETTINGS)