If execing the child fails, it might be because the shell doesn't exist. Try running the command directly before giving up.