|
a/src/internfile/mh_exec.cpp |
|
b/src/internfile/mh_exec.cpp |
|
... |
|
... |
12 |
* You should have received a copy of the GNU General Public License
|
12 |
* You should have received a copy of the GNU General Public License
|
13 |
* along with this program; if not, write to the
|
13 |
* along with this program; if not, write to the
|
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
|
|
17 |
#include "autoconfig.h"
|
|
|
18 |
|
|
|
19 |
#include <sys/types.h>
|
|
|
20 |
#include <sys/wait.h>
|
|
|
21 |
|
|
|
22 |
#include <list>
|
|
|
23 |
using namespace std;
|
|
|
24 |
|
17 |
#include "cstr.h"
|
25 |
#include "cstr.h"
|
18 |
#include "execmd.h"
|
26 |
#include "execmd.h"
|
19 |
#include "mh_exec.h"
|
27 |
#include "mh_exec.h"
|
20 |
#include "mh_html.h"
|
28 |
#include "mh_html.h"
|
21 |
#include "debuglog.h"
|
29 |
#include "debuglog.h"
|
22 |
#include "cancelcheck.h"
|
30 |
#include "cancelcheck.h"
|
23 |
#include "smallut.h"
|
31 |
#include "smallut.h"
|
24 |
#include "md5.h"
|
32 |
#include "md5.h"
|
25 |
#include "rclconfig.h"
|
33 |
#include "rclconfig.h"
|
26 |
|
|
|
27 |
#include <sys/types.h>
|
|
|
28 |
#include <sys/wait.h>
|
|
|
29 |
|
|
|
30 |
#ifndef NO_NAMESPACES
|
|
|
31 |
using namespace std;
|
|
|
32 |
#endif /* NO_NAMESPACES */
|
|
|
33 |
|
34 |
|
34 |
// This is called periodically by ExeCmd when it is waiting for data,
|
35 |
// This is called periodically by ExeCmd when it is waiting for data,
|
35 |
// or when it does receive some. We may choose to interrupt the
|
36 |
// or when it does receive some. We may choose to interrupt the
|
36 |
// command.
|
37 |
// command.
|
37 |
class MEAdv : public ExecCmdAdvise {
|
38 |
class MEAdv : public ExecCmdAdvise {
|