Move procmgr_init_spawn_cmd() out of a loop Remove an unnecessary memset() call in procmgr_init_spawn_cmd()