Wrap function for generators for easy writing asynchronous code
Bash console for local and remote commands