by ClutchBand · 7y ago · 0 comments
``` def issue_command(self, command):
if not str(command):
response = None
logger.error('Command argument must be string')
else:
response = os.system(command)
if response != 0:
logger.error('Command returned non-zero status: {}'.format(command))
exit(1)
return response
```No comments yet.