author | Heinz Junkes <junkes@fhi-berlin.mpg.de> |
Fri, 14 Aug 2015 11:30:43 +0200 | |
changeset 0 | bd6bb22c6533 |
permissions | -rw-r--r-- |
0 | 1 |
/* kstmMain.cpp */ |
2 |
/* Author: Marty Kraimer Date: 17MAR2000 */ |
|
3 |
||
4 |
#include <stddef.h> |
|
5 |
#include <stdlib.h> |
|
6 |
#include <stddef.h> |
|
7 |
#include <string.h> |
|
8 |
#include <stdio.h> |
|
9 |
||
10 |
#include "epicsExit.h" |
|
11 |
#include "epicsThread.h" |
|
12 |
#include "iocsh.h" |
|
13 |
||
14 |
int main(int argc,char *argv[]) |
|
15 |
{ |
|
16 |
if(argc>=2) { |
|
17 |
iocsh(argv[1]); |
|
18 |
epicsThreadSleep(.2); |
|
19 |
} |
|
20 |
iocsh(NULL); |
|
21 |
epicsExit(0); |
|
22 |
return(0); |
|
23 |
} |