Live testing

This commit is contained in:
Anton Hvornum 2019-04-11 22:18:50 +02:00
parent 1e35a8b096
commit 074efd4c1c
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ class sys_command():
for trigger in self.opts['triggers']:
print(trigger.lower(),'vs', lower)
if trigger.lower() in lower:
print('[N] Writing to subsystem: {}'.format(trigger))
os.write(child_fd, self.opts['triggers'][trigger])
yield output