exec.c: added EAGAIN error handling
Signed-off-by: Oliver Lorenz <olli@olorenz.org>