|
a/src/utils/execmd.cpp |
|
b/src/utils/execmd.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: execmd.cpp,v 1.11 2005-11-24 07:16:16 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: execmd.cpp,v 1.12 2006-01-23 13:32:28 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
|
|
4 |
/*
|
|
|
5 |
* This program is free software; you can redistribute it and/or modify
|
|
|
6 |
* it under the terms of the GNU General Public License as published by
|
|
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
|
8 |
* (at your option) any later version.
|
|
|
9 |
*
|
|
|
10 |
* This program is distributed in the hope that it will be useful,
|
|
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
13 |
* GNU General Public License for more details.
|
|
|
14 |
*
|
|
|
15 |
* You should have received a copy of the GNU General Public License
|
|
|
16 |
* along with this program; if not, write to the
|
|
|
17 |
* Free Software Foundation, Inc.,
|
|
|
18 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
19 |
*/
|
4 |
#ifndef TEST_EXECMD
|
20 |
#ifndef TEST_EXECMD
|
5 |
#include <unistd.h>
|
21 |
#include <unistd.h>
|
6 |
#include <sys/types.h>
|
22 |
#include <sys/types.h>
|
7 |
#include <sys/wait.h>
|
23 |
#include <sys/wait.h>
|
8 |
#include <sys/select.h>
|
24 |
#include <sys/select.h>
|