passing options instead of cb to spawnCommand