Implement subprocess calls in module