I have tried three variations below after reading. Still no luck. # Method 1 if dropdown_list == 'msb_get_new_acks_submission.sh': subprocess.run(["/opt/OV/bin/opcmsg", "application=ABC", "object=ABC", "severity=Major", "msg_t=TEST", "-option", "CIHint=ABC-A2A_Abstract_Node", "-option", "ETIHint=TESTABCPortal_ABC:Major", "-option", "Description='The rate of SendSubmission failures to successes exceeded the threshold in the ABC IEP A2A JVM logs'", "-option", "category=ABC_A2A_JVM", "-option", "subcategory=SendSubmissionRate"], stdout=subprocess.PIPE, text=True) # Method 2 if dropdown_list == 'msb_get_new_acks_submission.sh': execute=subprocess.run('/opt/OV/bin/opcmsg application=ABC object=ABC severity=Major msg_t=TEST -option CIHint=ABC-A2A_Abstract_Node -option ETIHint=TESTABCPortal_ABC:Major -option category=ABC_A2A_JVM -option subcategory=SendSubmissionRate', shell=True, stdout=subprocess.PIPE, text=True, check=True) # Method 3, command is what I defined just to reduce the clutter. if dropdown_list == 'msb_get_new_acks_submission.sh': res = subprocess.call('command', shell=True)
... View more