--- libaitio/src/sock.c 2013/11/22 13:49:14 1.5 +++ libaitio/src/sock.c 2013/11/22 14:31:08 1.6 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: sock.c,v 1.5 2013/11/22 13:49:14 misho Exp $ +* $Id: sock.c,v 1.6 2013/11/22 14:31:08 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -275,7 +275,8 @@ io_bridgeClient(sched_task_t *task) array_Destroy(&args); printf("Console %s\n", cli->cli_name); - execv(*argv, argv); + rlen = execv(*argv, argv); + _exit(rlen); break; default: cli->cli_pid = pid;