Implement spawn command