plugins/script: events wait for commands from stdout to run