-
Notifications
You must be signed in to change notification settings - Fork 62
Constants
lamerman edited this page Feb 20, 2016
·
5 revisions
There are several constants available. Here is the list of them with default values
PRINT_ALL_COMMANDS = False
prints all commands being executed
PRINT_STDOUT_ALWAYS = False
always prints stdout of every command executed, ignoring whether the p
parameter is set or not
EXIT_ON_ERROR = False
every error (returncode != 0) in executed commands will make the script stop. So if you execute a shellpy script and there will be at least one command among all that returns not zero then the execution of the script will be interrupted immediatelly
COLORAMA_ENABLED = True
colorama is a plugin that makes output colored and much more clear and beautiful, this flag controls whether it is enabled