That’s all we can say right now.
subprocess.run
uses a default of check=False
, which means that a nonzero exit code will be
ignored by default, instead of raising an exception.
You can ignore this issue if this behaviour is intended.
# Nonzero exit code will be ignored here
subprocess.run(['notify-send', '-u', 'critical', msg])
# Exception will be raised for nonzero exit code
subprocess.run(['notify-send', '-u', 'critical', msg], check=True) # some comment