new-api: execute a process inside an existing container 

Errno implements error interface. You can just check for err == syscall.ESRCH