Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
/* (c) Copyright 1995-2000 A.Young
2
 *  This software may be used freely so long as this copyright notice is
3
 *  left intact. There is no warrantee on this software.
4
 */
5
#include <stdio.h>
6
#include <stdlib.h>
7
#include <setjmp.h>
8
#include <limits.h>
9
#include <unistd.h>
10
#include <libdos.h>
11
#include "sh.h"
12
 
13
#if (OS_TYPE == OS_DOS)
14
int
15
system(const char *arg)
16
{
17
    __systeml_sh = 0;
18
    if (FL_TEST(FLAG_DEBUG_EXECUTE))
19
      __systeml_debug = 1;
20
 
21
    return long_system(arg, NULL);
22
}
23
#endif /*OS_DOS*/