2 * Copyright 1993, 1995 Christopher Seiwald.
4 * This file is part of Jam - see jam.c for Copyright information.
7 * execcmd.h - execute a shell script
9 * 05/04/94 (seiwald) - async multiprocess interface
11 #ifndef JAMH_EXECCMD_H
12 #define JAMH_EXECCMD_H
15 extern void execcmd (const char *string
, void (*func
)(void *closure
, int status
), void *closure
, LIST
*shell
);
16 extern int execwait (void);
19 #define EXEC_CMD_OK (0)
20 #define EXEC_CMD_FAIL (1)
21 #define EXEC_CMD_INTR (2)